Configures routes that are eligible for selection as additional-paths by peers configured under a Border Gateway Protocol (BGP) address family.
BGP address-family IPv4 unicast configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast configuration mode
BGP address-family IPv6 unicast VRF configuration mode
The all, best, and group-best options are not mutually exclusive. When you perform a combination of these commands, the combined configuration is applied to the BGP address family.
The no form of the command removes the specified configuration.
When more than one option is configured, it is recommended that you disable each configured option separately; for example, disable the all configuration by using the no additional-paths select command specifying the all option, and so on.
The following example shows how to configure all (up to a maximum of 16) routes to be eligible for selection as additional-paths by all peers in the IPv4 unicast address family.
device# configure terminal device(condig)# router bgp device(config-bgp-router)# address-family ipv4 unicast device(config-bgp-router-ipv4u)# additional-paths select all
The following example shows how to restore the default configuration when the all, best, and group-best options were previously configured for the IPv4 unicast address family. It is recommended that you disable each configuration option separately.
device# configure terminal device(condig)# router bgp device(config-bgp-router)# address-family ipv4 unicast device(config-bgp-router-ipv4u)# no additional-paths select all device(config-bgp-router-ipv4u)# no additional-paths select best 2 device(config-bgp-router-ipv4u)# no additional-paths select group-best