configure bgp med

configure bgp med [none | bgp_med]

Description

Configures the metric to be included in the Multi-Exit-Discriminator (MED) path attribute.The MED path attribute is included in route updates sent to external peers if a value is configured.

Syntax Description

none Specifies not to use a multi-exist-discriminator number.
bgp_med Specifies a multi-exit-discriminator number. The range is 0-2147483647.

Default

N/A.

Usage Guidelines

BGP (Border Gateway Protocol) selects routes based on the following precedence (from highest to lowest):
  • higher weight

  • higher local preference

  • shortest length (shortest AS path)

  • lowest origin code

  • lowest MED

  • route from external peer

  • lowest cost to Next Hop

  • lowest routerID
    Note

    Note

    BGP must be disabled before you can change the configuration with this command.

Example

The following command configures the metric to be included in the MED path attribute:

configure bgp med 3

History

This command was first available in ExtremeXOS 10.1.

This command required a specific license in ExtremeXOS 11.1.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the ExtremeXOS 22.7 Feature License Requirements document.