Enables the origination and advertisement of default routes to all BGP neighbors in the specified peer group.
|peer-group peer-group-name||Specifies the BGP peer group for which the default routes are originated and advertised.|
|address-family||Specifies an IPv4 or IPv6 unicast or multicast address family.|
|policy_name||Specifies a policy to be applied to the default routes during origination.|
Disabled. BGP does not automatically originate and advertise default routes to BGP neighbors.
This command can be successfully executed at any time, irrespective of whether local BGP or the remote BGP peers are enabled or disabled. The default routes are created regardless of whether or not there are matching entries in the IGP route table.
When a BGP neighbor is added to a peer group, it does not inherit the default route origination configuration from the peer group. Also, default route origination for a neighbor and the associated peer group can be different.
If a policy is configured and specified in the command, a default route can be originated only if there is a route in the local BGP RIB that matches the policy's match rules. The default route's attribute can be modified using the same policy file by including statements in the set block of the policy.
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.
If the specified peer group contains IPv6 peers, it is an IPv6 peer group and you must specify an IPv6 address-family. When the specified peer group is an IPv6 peer group, this command fails if no address family is specified or if an IPv4 address-family is specified. This command also fails if an IPv6 address family is specified for an IPv4 peer-group.
The following command enables the origination and advertisement of default routes for IPv4 unicast traffic for all nodes in the test BGP peer group:
enable bgp peer-group test originate-default
This command was first available in ExtremeXOS 12.2.2.
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 Switch Engine 32.3 Feature License Requirements document.