9 bgp bestpath compare-routerid, 10 bgp bestpath med, Bgp bestpath compare – PLANET XGS3-24040 User Manual
Page 517: Routerid, Bgp bestpath med
35-230
35.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.
Default: Not configured.
Command Mode: BGP route mode
Usage Guide: Normally the first arrived route from the same AS (with other conditions equal) will be
chosen as the best route. By using this command, source router ID will also be compared.
Example: Device(10.1.1.66, AS200)receives the same route prefix from two devices (10.1.1.64 and
10.1.1.68)of the same AS (100), configure the device to compare route ID.
Switch(config-router)#bgp bestpath compare-routerid
Related Command: bgp bestpath compare-confed-aspath, bgp bestpath compare-confed-aspath,
bgp bestpath med, no bgp bestpath compare-confed-aspath, no bgp bestpath
compare-confed-aspath, no bgp bestpath med
35.10 bgp bestpath med
Command: bgp bestpath med {[confed] [missing-as-worst]}
no bgp bestpath med {[confed] [missing-as-worst]}
Function: Configure whether the MED attributes should be compared in the confederation path and the
treatment when MED is unavailable. The “no bgp bestpath med {[confed] [missing-as-worst]}”
command cancels this configuration.
Parameter: [confed]: Compare MED in the confederation path.
[missing-is-worst]: Consider as max MED value when missing.
Default: Not configured.
Command Mode: BGP route mode
Usage Guide: Choose whether MED is compared among confederations by this command. If MED is
missing, it is considered max when missing-is-worst or else 0.
Example:
Switch(config-router)#bgp bestpath med confed missing-as-worst
Relevant Commands: bgp bestpath compare-confed-aspath, bgp bestpath
compare-confed-aspath, bgp bestpath compare-routerid, no bgp bestpath
compare-confed-aspath, no bgp bestpath compare-confed-aspath, no bgp bestpath
compare-routerid