OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Additional Paths Commands
BGP Additional Paths Commands
The chapter describes the BGP additional paths commands:
bgp additional-paths
Use this command to enable BGP additional paths.
Use the no parameter with this command to disable BGP add-path.
Command Syntax
bgp additional-paths (send|receive|send-receive|select (all | best<2-3>))
no bgp additional-paths (send|receive|send-receive|select (all | best))
Parameters
send
Send additional paths to neighbors
receive
Receive additional paths from neighbors
send-receive
Send and receive additional paths from neighbors
select
Selection criteria to pick the paths
all
Select all available paths
best
Select best N paths
<2-3>
Number of best paths in additional paths to be selected
Default
By default, BGP additional paths is disabled
Command Mode
Address Family mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 2
(config-router)#address-family ipv4 unicast
(config-router-af)#bgp additional-paths send
(config-router-af)#no bgp additional-paths send
bgp additional-paths install
Use this command to install the back-up path. BGP selects only one best path in the multiple next-hop network, the additional-path install (or) bgp prefix independent convergence enables BGP to select and install the back-up path.
 
Use the no parameter with this command to delete the installed back-up paths.
Command Syntax
bgp additional-paths install
no bgp additional-paths install
Parameters
None
Default
By default, additional-paths install is disabled.
Command Mode
address-family vpnv4 unicast
address-family vpnv6 unicast
address-family ipv6 labeled-unicast
Applicability
This command was introduced before OcNOS version 4.1 and new modes were introduced before OcNOS version 6.2.0
Examples
OCNOS(config)#router bgp 100
OCNOS(config-router)#address-family vpnv4 unicast
OCNOS(config-router)#bgp additional-paths install
OCNOS(config-router-af)#exit-address-family
 
OCNOS(config-router)#address-family vpnv6 unicast
OCNOS(config-router)#bgp additional-paths install
OCNOS(config-router-af)#exit-address-family
 
OCNOS(config-router)#address-family ipv6 labeled-unicast
OCNOS(config-router)#bgp additional-paths install
OCNOS(config-router-af)#exit-address-family
 
CLI ”bgp additional-paths select best” requires to be configured.
 
neighbor additional-paths
Use this command to enable neighbour BGP add-path.
Use the no parameter with this command to disable neighbour BGP add-path.
Command Syntax
neighbor A.B.C.D additional-paths (send|receive|send-receive|disable)
no neighbor A.B.C.D additional-paths (send|receive|send-receive|disable)
Parameters
send
Send additional paths to neighbors
receive
Receive additional paths from neighbors
send-receive
Send and Receive additional paths from neighbors
disable
Disable additional paths
Default
By default additional-path is disabled
Command Mode
Address Family mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 2
(config-router)#address-family ipv4 unicast
(config-router-af)#neighbor 1.1.1.2 additional-paths send
(config-router-af)#no neighbor 1.1.1.2 additional-paths send
 
neighbor advertise additional-paths
Use this command to enable BGP add-path at neighbor level.
Use the no parameter with this command to disable BGP add-path at neighbor level.
Command Syntax
neighbor A.B.C.D advertise additional-paths (all|best <2-3>)
no neighbor A.B.C.D advertise additional-paths (all|best <2-3>)
Parameters
all
Select all available paths
best
Select best N paths
<2-3>
Number of best paths in additional paths to be selected
Default
By default, neighbor advertise additional path is disabled
Command Mode
Address Family mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 2
(config-router)#address-family ipv4 unicast
(config-router-af)#neighbor 1.1.1.2 advertise additional-paths all
(config-router-af)#no neighbor 1.1.1.2 advertise additional-paths all