543
while carrying different MED;
Configure on the route 10.1.1.64
Switch(config-router)#bgp always-compare-med
14.8.3.7 bgp bestpath as-path ignore
Command: bgp bestpath as-path ignore
no bgp bestpath as-path ignore
Function:
Set to ignore the AS-PATH length. The “
no bgp bestpath as-path ignore
”
command cancels this configuration
Parameter:
None
Default:
Not set
Command Mode:
BGP routing mode
Usage Guide:
Length of AS-PATHwill be compared in BGP pathing, and its length can be
ignored by using this configuration.
Example:
Add this setting on B:
Switch(config)#router bgp 200
Switch(config-router)#bgp bestpath as-path ignore
14.8.3.8 bgp bestpath compare-confed-aspath
Command: bgp bestpath compare-confed-aspath
no bgp bestpath compare-confed-aspath
Function:
Set to concern the confederation AS-PATH length. The “
no bgp bestpath
compare-confed-aspath
” command cancels this configuration.
Parameter:
None
Default:
Not configured
Command Mode: BGP routing mode
Usage Guide:
Normally only the length of external AS-PATH will be compared in BGP
pathing. By using this configuration, lengths of AS inner union AS-PATH will be compared
at the same time.
Example:
Switch(config-router)#bgp bestpath compare-confed-aspath
14.8.3.9 bgp bestpath compare-routerid
Command: bgp bestpath compare-routerid
no bgp bestpath compare-routerid
Function:
Compare route ID; the “
no bgp bestpath compare-routerid
” command
cancels this configuration
Parameter:
None