bgp bestpath med confed

Syntax

bgp bestpath med confed no bgp bestpath med confed

描述

Compares the identical routes received from the different confederation peers and selects the route with the lowest Multi Exit Discriminator (MED) value as the best path. This behavior is disabled by default.

The没有form of this command prevents the routing process from considering the MED value.

NOTE:

The selection of other attributes likeas-multi-path relaxand作为路径忽略将不是一个ffect the behavior of this command within a confederation.

Command context

config-bgp

权威

Administrators or local user group members with execution rights for this command.

Examples

Selecting the route with lowest MED value:
switch(config-bgp)#bgp bestpath med confedAll active BGP sessions in the VRF %s will be restarted. Do you want to continue (y/n)?
Preventing the routing process from selecting the MED value:
switch(config-bgp)#没有bgp bestpath med confedAll active BGP sessions in the VRF %s will be restarted. Do you want to continue (y/n)?