Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The set protocols bgp bestpath med missing-as-worst command configures a BGP routing process to assign a value of infinity (max possible) to routes that are missing the Multi Exit Discriminator (MED) attribute. The path without a MED value is the least desirable path. Any changes in BGP configuration are applied by restarting the current BGP sessions in the VRFs.

The delete protocols bgp bestpath med missing-as-worst command restores default behavior. The default behavior assigns a value of 0 to the missing MED.


Command Syntax

set protocol protocols bgp [vrf <vrf-name>] bestpath med missing-as-worst

delete protocol protocols bgp [vrf <vrf-name>] bestpath med missing-as-worst


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].


Example
• This example configures a BGP routing process to assign a value of infinity (max possible) to routes that are missing the Multi Exit Discriminator (MED) attribute. 

...