Enterasys Networks XSR CLI Router User Manual


 
BGP Configuration Commands
XSR CLI Reference Guide 6-107
Syntax of the “no” Form
Thenoformofthiscommandremovesthecommmunitylistnumber:
no community-list community-list-number
Mode
Globalconfiguration:XSR(config)#
Example
ThisexampleconfiguresIPcommunitylist88.Thecommunitynumbersspecifiedinthelistare
2000,3000,and4000inthefirst,second,andthirdinstanceofthecommand,respectively.Thislist
canbereferencedwithinthe
match community commandthatispartofaroutemapcontrolling
BGProutingbasedonthecommunityattribute.Thematchwillseekupdatesthatinclude
communitynumbers2000,3000,or4000.
XSR(config)#ip community-list 88 permit 2000
XSR(config)#ip community-list 88 permit 3000
XSR(config)#ip community-list 88 permit 4000
network
ThiscommandspecifiesthelistofnetworksfortheBGProutingprocess.Networkscanbe
learnedfromconnectedroutesorviadynamicrouting.TheBGPprocessmustbenotifiedaboutthe
networksitwillroutewhichconoccursviamanualinjectionofroutesintotheBGPprocesswith
the
networkcommand.RoutesoriginatedbyBGPviathenetworkcommandhavetheirorigin
codesettoIGP.
NetworknumbersthatareinjectedintoBGPbymeansofthe
networkcommandmustalready
existintheIProutingtableontherouterasstat ic,directlyconnected,ordynamicallyderived
routes.Ifnetworknumbersdonotalreadyexist,theywillnotbeplacedintotheBGPtable,even
thoughtheywillappearintherouter’sconfiguration.
Syntax
network network-number [mask network-mask]
community-number
Communitynumberasitwasdefinedforthisrouterviatheset
community
command.Validvaluesare:
Range:1to4,294,967,200.
aa:nn:ASnumber,Communitynumber.
internet:theInternetcommunity.
noexport:thecommunityroutewillnotbeadvertisedtoanEBGPpeer.
noadvertise:theroutewillnotbeadvertisedtoanypeer.
network-number
NetworkthatBGPadvertises.
mask
Usedwhenanetworkmaskisexplicitlyspecifiedforthenetwork
number.Withoutthenetworkmaskbeingspecified,adefaultclassful
maskisassumed.