bgp bestpath as-path
This command specifies that the length of confederation path sets and sequences that should be taken into account during the BGP best path decision process.
Syntax
bgp bestpath as-path {confed|ignore}
Command |
Description |
---|---|
confed |
Compare path lengths including confederation sets & sequences in selecting a route. |
ignore |
Ignores as-path length when selecting a router. |
Default
NA
Command Mode
Privileged User
Example
This example ignores as-path length in selecting a router.
(config data) # bgp bestpath as-path ignore