Enables the comparison of the multiexit discriminator (MED) parameter for paths from neighbors in different autonomous systems. A path with a lower MED is preferred over a path with a higher MED.
bgp always-compare-med
default bgp always-compare-med
no bgp always-compare-med
The default value is disable.
BGP Router Configuration