always-compare-med

Configures the device always to compare the Multi-Exit Discriminators (MEDs), regardless of the autonomous system (AS) information in the paths.

Syntax

always-compare-med
no always-compare-med

Modes

BGP configuration mode

Usage Guidelines

The no form of the command disallows the comparison of the MEDs for paths from neighbors in different autonomous systems.

Examples

The following example configures the device always to compare the MEDs.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# always-compare-med