Removes a default route to a single BGP neighbor or to all BGP neighbors.
remoteaddr | Specifies the IPv4 or IPv6 address of a BGP neighbor. |
all | Specifies that the configuration applies to all neighbors in the specified address family. If no address family is specified, the configuration applies to the IP Unicast family on all IPv4 peers. If an IPv4 address family is specified, the configuration applies to all IPv4 neighbors. If an IPv6 address family is specified, the configuration applies to all IPv6 neighbors. |
address-family | Specifies an IPv4 or IPv6 unicast or multicast address family. |
Disabled. BGP does not automatically originate and advertise default routes to BGP neighbors.
If no address family is specified and an IPv4 address is detected, IPv4 unicast is the default address family.
Note
You must specify an IPv6 address family for an IPv6 peer, because an IPv6 peer does not support the default IPv4 unicast address family. Similarly, if you specify an IPv4 peer and an address family in the command, an IPv4 address family must be specified.
This command can be successfully executed at any time, irrespective of whether local BGP or the remote BGP peer is enabled or disabled.
If you do not specify an address family, this command applies to the IPv4 unicast address family. To apply this command to an address family other than the IPv4 unicast address family, you must specify the address family.
The following command removes default routes for IPv4 unicast traffic for all BGP peer nodes:
disable bgp neighbor all originate-default
This command was first available in ExtremeXOS 12.1.3.
Support for IPv6 was added in ExtremeXOS 12.6 BGP.
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.