[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring the Multiple Exit Discriminator Metric

The BGP multiple exit discriminator (MED, or MULTI_EXIT_DISC) is an optional path attribute that can be included in BGP update messages. This attribute is used on external BGP links (that is, on inter-AS links) to select among multiple exit points to a neighboring AS. The MED attribute has a value that is referred to as a metric. If all other factors in determining an exit point are equal, the exit point with the lowest metric is preferred.

If a MED is received over an external BGP link, it is propagated over internal links to other BGP systems within the AS.

BGP update messages include a MED metric if the route was learned from BGP and already had a MED metric associated with it, or if you configure the MED metric in the configuration file in one of the following ways:

For configuration examples, see Examples: Configuring the MED Metric.

A MED metric is advertised with a route according to the following general rules:

For a description of the algorithm used to determine the active path, see How the Active Route Is Determined.


[Contents] [Prev] [Next] [Index] [Report an Error]