Alcatel-Lucent 6850-48 Guida Di Riferimento
BGP Commands
OmniSwitch CLI Reference Guide
September 2009
page 44-17
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.
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, 9000, 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.
other autonomous systems.
• The BGP protocol must be disabled (using the
command) before using this command.
Examples
-> ip bgp always-compare-med
-> no ip bgp always-compare-med
Release History
Release 6.1; command was introduced.
Related Commands
MIB Objects
alaBgpGlobal
alaBgpMedAlways
Configures the MED parameter when it is missing in a BGP path.