ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1854
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.
COMMAND USAGE
Normally, the first route arriving from different external peers (with other
conditions equal) will be chosen as the best route. By using this command,
the route with lowest router ID will be selected.