BGP additional-paths can be enabled for a specific peer group (neighbor) under a BGP address family. In addition, configuration options are available to control the additional-paths that are advertised by the neighbor.
Before completing this task, configure (by using the additional-paths select command) the set of paths eligible for selection as additional-paths under the relevant address family. An example is provided at the end of this task that shows all the configuration steps in order.
Perform the following task to enable additional-paths for a specific peer group and specify the additional routes for the peer group to advertise, under the IPv4 unicast address family.
device# configure terminal
device(config)# router bgp
device(config-bgp)# neighbor pg-1 peer-group
device(config-bgp)# address-family ipv4 unicast
device(config-bgp-ipv4u)# neighbor pg-1 additional-paths receive send
Note
Changes in the capability of receiving or sending additional-paths are reflected only after the BGP session is restarted.device(config-bgp-ipv4u)# neighbor pg-1 additional-paths advertise group-best
The following example first shows how to configure group-best paths as candidates for selection as additional paths, under the IPv4 address family. It then shows how to enable receiving and sending additional-paths for peer group pg-1 and configures the advertisement of group-best paths for pg-1.
device# configure terminal device(config)# router bgp device(config-bgp)# address-family ipv4 unicast device(config-bgp-ipv4u)# additional-paths select group-best device(config-bgp-ipv4u)# exit device(config-bgp)# neighbor pg-1 peer-group device(config-bgp)# address-family ipv4 unicast device(config-bgp-ipv4u)# neighbor pg-1 additional-paths receive send device(config-bgp-ipv4u)# neighbor pg-1 additional-paths advertise group-best
After completing this task, restart the BGP session to activate the new additional-paths capability configuration.