Chapter 29
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 945 –
Command Mode
Router Configuration
Default Setting
Disabled
Example
Console(config-router)#bgp bestpath as-path ignore
Console(config-router)#
bgp bestpath
compare-confed-
aspath
This command compare confederation AS path length in addition to external AS
path length in the selection of a path. Use the no form to disable this feature.
Syntax
[no] bgp bestpath compare-confed-aspath
Command Mode
Router Configuration
Default Setting
Disabled
Example
Console(config-router)#bgp bestpath compare-confed-aspath
Console(config-router)#
bgp bestpath
compare-routerid
This command compares similar routes from external peers, and gives preference
to a route with the lowest router identifier. Use the no form to restore the default
setting.
Syntax
[no] bgp bestpath compare-routerid
Command Mode
Router Configuration
Default Setting
When making the best-path selection, the router does not compare identical
routes received from different external peers.