BGP Configuration Commands
6-86 Configuring the Border Gateway Protocol
Mode
Routerconfiguration:XSR(config-router)#
Default
Enabled
Example
ThefollowingexampleconfiguressummarizationinBGPprocess100:
XSR(config)#router bgp 100
XSR(config-router)#auto-summary

bgp always-compare-med

ThiscommandinstructstheXSRtocomparetheMultiExitDiscriminator(MED)valueforpaths
fromneighborsindifferentASs.MEDisoneoftheparametersconsideredbytheXSRwhen
selectingthebestpath.ThepathwiththelowestMEDvalueischosenwhenallhigherranking
BGProuteselectioncriteriaarethesameforallcompetingpathstothesamedestination.
Syntax
bgp always-compare-med
Syntax of the “no” Form
ThenoformofthiscommandremovestheMEDvalue:
no bgp always-compare-med
Mode
Routerconfiguration:XSR(config-router)#
Default
ThedefaultvalueforthiscommandistoonlycomparetheMEDvaluesforpathsfromneighbors
inthesameAS.
Example
ThefollowingexamplesetsMEDwithinBGPprocess100:
XSR(config)#router bgp 100
XSR(config-router)#bgp always-compare-med