delete bgp neighbor

delete bgp neighbor [remoteaddr | all]

Description

Deletes one or all BGP neighbors.

Syntax Description

remoteaddr Specifies the IPv4 or IPv6 address of the BGP neighbor to be deleted.
all Specifies all IPv4 and IPv6 neighbors.

Default

N/A.

Usage Guidelines

You can use global unicast remote addresses to delete all BGP peer types. You can use link-local remote address to delete only EBGP single-hop peers.

Example

The following command deletes the specified IPv4 BGP neighbor:

delete bgp neighbor 192.168.1.17

The following command deletes the specified IPv6 BGP neighbor:

delete bgp neighbor fe80::204:96ff:fe1e:a8f1%vlan1

History

This command was first available in ExtremeXOS 10.1.

This command required a specific license in ExtremeXOS 11.1.

Support for IPv6 was added in ExtremeXOS 12.6 BGP.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.