OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : bgp bestpath as-path ignore
bgp bestpath as-path ignore
Use this command to prevent the router from considering the autonomous system (AS) path length as a factor in the algorithm for choosing a best path route.
Use the no parameter with this command to allow the router to consider the AS path length in choosing a best path route.
Command Syntax
bgp bestpath as-path ignore
no bgp bestpath as-path ignore
Parameters
None
Default
By default, bgp bestpath as-path ignore is disabled
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 as-path ignore
 
(config)#router bgp 100
(config-router)#no bgp bestpath as-path ignore
Last modified date: 10/16/2023