OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : bgp bestpath compare-confed-aspath
bgp bestpath compare-confed-aspath
Use this command to allow comparing of the confederation AS path length. This command specifies that the AS confederation path length must be used when available in the BGP best path decision process. It is effective only when bgp bestpath as-path ignore command has not been used.
Use the no parameter with this command to ignore consideration of AS confederation path length in BGP best path selection.
Command Syntax
bgp bestpath compare-confed-aspath
no bgp bestpath compare-confed-aspath
Parameters
None
Default
BGP receives routes with identical eBGP paths from eBGP peers and selects the first route received as the best path.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 100
(config-router)#bgp bestpath compare-confed-aspath
 
(config)#router bgp 100
(config-router)#no bgp bestpath compare-confed-aspath
Last modified date: 10/16/2023