compare-med-empty-aspath

Enables comparison of Multi-Exit Discriminators (MEDs) for internal routes that originate within the local autonomous system (AS) or confederation

Syntax

compare-med-empty-aspath
no compare-med-empty-aspath

Command Default

Disabled.

Modes

BGP configuration mode

Usage Guidelines

The no form of the command restores the default.

Examples

The following example configures the device to compare MEDs.

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