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,directly‐connected,ordynamically‐derived
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.
• no‐export:thecommunityroutewillnotbeadvertisedtoanEBGPpeer.
• no‐advertise:theroutewillnotbeadvertisedtoanypeer.
network-number
NetworkthatBGPadvertises.
mask
Usedwhenanetwork‐maskisexplicitlyspecifiedforthenetwork‐
number.Withoutthenetwork‐maskbeingspecified,adefaultclassful
maskisassumed.