Bgp always-compare-med – Enterasys Networks X-Pedition XSR CLI User Manual

Page 282

Advertising
background image

BGP Configuration Commands

6-86 Configuring the Border Gateway Protocol

Mode

Router configuration: 

XSR(config-router)#

Default

Enabled

Example

The following example configures summarization in BGP process 100:

XSR(config)#router bgp 100
XSR(config-router)#auto-summary

bgp always-compare-med

This command instructs the XSR to compare the Multi Exit Discriminator (MED) value for paths 
from neighbors in different ASs. MED is one of the parameters considered by the XSR when 
selecting the best path. The path with the lowest MED value is chosen when all higher‐ranking 
BGP route selection criteria are the same for all competing paths to the same destination.

Syntax

bgp always-compare-med

Syntax of the “no” Form

The no form of this command removes the MED value:

no bgp always-compare-med

Mode

Router configuration: 

XSR(config-router)#

Default

The default value for this command is to only compare the MED values for paths from neighbors 
in the same AS.

Example

The following example sets MED within BGP process 100:

XSR(config)#router bgp 100
XSR(config-router)#bgp always-compare-med

Advertising