configure bgp med

configure bgp med [none | bgp_med]


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.



Usage Guidelines

BGP 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


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


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

configure bgp med 3


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 and Switch Engine 31.7 Feature License Requirements document.