BGP Commands
ip bgp always-compare-med
Enables or disables Multi-Exit Discriminator (MED) comparison between peers in different autonomous
systems. The MED value is considered when selecting the best path among alternatives; it indicates the
weight for a particular exit point from the AS. A path with a lower MED value is preferred over a path
with a higher MED value.
ip bgp always-compare-med
no ip bgp always-compare-med
Syntax Definitions
N/A
Defaults
This command is disabled by default.
Platforms Supported
OmniSwitch 6850, 6855, 6850E, 9000E
Usage Guidelines
•
Use the no form of this command to disable MED comparison for external peers.
•
By default, BGP only compares MEDs from the same autonomous system when selecting routes.
Enabling this command forces BGP to also compare MEDs values received from external peers, or
other autonomous systems.
•
The BGP protocol must be disabled (using the
Examples
-> ip bgp always-compare-med
-> no ip bgp always-compare-med
Release History
Release 6.1; command was introduced.
Related Commands
ip bgp bestpath med missing-
as-worst
MIB Objects
alaBgpGlobal
alaBgpMedAlways
OmniSwitch CLI Reference Guide
ip bgp status
Configures the MED parameter when it is missing in a BGP path.
June 2012
command) before using this command.
page 25-17