Delete an Amazon Direct Connect virtual interface BGP peer
If your virtual interface has both an IPv4 and IPv6 BGP peering session, you can delete one of the BGP peering sessions (but not both). You can delete a virtual interface BGP peer using either the Amazon Direct Connect console or using the command line or API.
To delete a BGP peer
Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home
. -
In the navigation pane, choose Virtual Interfaces.
-
Select the virtual interface and then choose View details.
-
Under Peerings, select the peering that you want to delete and then choose Delete.
-
In the Remove peering from virtual interface dialog box, choose Delete.
To delete a BGP peer using the command line or API
-
delete-bgp-peer (Amazon CLI)
-
DeleteBGPPeer (Amazon Direct Connect API)