Release : 1.1f 722 / 985
Super Micro Intelligent Switch Command Line Interface User Guide
27.17 bgp always-compare-med
This command enables the comparison of med for routes received from different autonomous
system and the no form of the command Disables the comparison of med for routes received
from different autonomous system. Med will be compared only for routes from same neighbor
autonomous system.
bgp always-compare-med
no bgp always-compare-med
Mode
Router Configuration Mode
Defaults
Disable
Example
SMIS(config-router)# bgp always compare-med
BGP Speaker Local AS number must be configured.
By default in BGP route selection algorithm, MED attributes are compared between
two routes only if both the routes are received from the same autonomous system.
Administrator can change this default behavior by enabling always-compare-med
option. If this option is enabled, then in BGP route selection algorithm, MED
attributes are compared between routes even if they are received from different
autonomous systems.
Related Commands
router bgp – Sets the AS number of the BGP Speaker
show ip bgp info – Displays the general info about BGP protocol