ZXR105900ESeriesCongurationGuide(IPv4Routing)
ZXR10_AS600(config-bgp)#neighbor192.168.1.13remote-as400
ZXR10_AS600(config-bgp)#neighbor192.168.1.13activate
ZXR10_AS600(config-bgp)#neighbor192.168.1.13route-mapLocal_Prefin
ZXR10_AS600(config-bgp)#neighbor192.168.1.17remote-as300
ZXR10_AS600(config-bgp)#neighbor192.168.1.173activate
ZXR10_AS600(config-bgp)#exit
ZXR10_AS600(config)#route-mapLocal_Prefpermit10
ZXR10_AS600(config-route-map)#matchcommunity-list1
ZXR10_AS600(config-route-map)#setlocal-preference200
ZXR10_AS600(config-route-map)#exit
ZXR10_AS600(config)#ipcommunity-list1permit400:1
UseshowipbgproutetoviewBGProutingtableofAS600.
ZXR10_AS600(config)#showipbgproute
Statuscodes:*valid,>best,i-internal
Origincodes:i-IGP,e-EGP,?-incomplete
NetworkNextHopMetricLocPrfRtPrfPath
*>10.0.1.0/24192.168.1.1320020400100i
*>10.0.2.0/24192.168.1.1320020400i
*>10.0.3.0/24192.168.1.1320020400100200i
*10.0.3.0/24192.168.1.1720300200i
*>10.0.4.0/24192.168.1.1320020400100200300i
BGPselecttheroutewithhigherLocal_Prefvaluepreferably.Inthisexample,the
routefromAS400to10.0.3.0/24isselected.
BGPCongurationforLarge-scaleNetwork
NeighborhoodmustbeestablishedbetweeneverytwoBGProutersinthesameASto
formfullinterconnection.Inthisway,withtheincreasingofthenumberofIBGProuters,
thenumberofneighborswillincrementbyn(n-1)/2(nisthenumberofIBGProuters).
Toreducetheworkloadofmaintenanceandconguration,useroutereectorand
confederation.
lConguringBGPRouteReector
IBGProutersarenotfullyconnectedinanAS,andeveryIBGProuterhasmorethan
100BGPsessions.
ForanASofalarge-scalenetwork,selectaIBGProutertobeaRouteReector(RR),
andallotherIBGProutersserveasclients.Eachclientonlyestablishesneighborhood
withRRandthenmultipleRRsestablishneighborhoodwitheachother.Allclients
reectroutesthroughtheRR.Inthisway,thenumberofneighborsisreducedton-1.
TheclientsstandforthatIBGPneighborswhichsetupfullinterconnectionwiththe
RR.Theclientsformagroup.IBGPneighborsoftheRRwhomdonotbelongtothe
grouparenon-clients.
WhenarouteisreceivedbyRR,itwillbereectedaccordingtothedifferentpeer
types.
5-46
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential