always-compare-med

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