Chapter8BGP4+Conguration
FIGURE6EBGPMULTIHOPCONFIGURATIONEXAMPLE
R1conguration(othercongurationsareomitted):
ZXR10_R1(config)#routerbgp100
ZXR10_R1(config-router)#neighbor2003::2remote-as300
ZXR10_R1(config-router)#neighbor2003::2ebgp-multihop
R2conguration(othercongurationsareomitted):
ZXR10_R2(config)#routerbgp300
ZXR10_R2(config-router)#neighbor2005::1remote-as100
FilteringRoutesUsingRouteMap
RoutelteringandattributecongurationarethebasisofBGP4+
decision.Bymeansofroutelteringoperations,theinputorout-
putrouteattributescanbecontrolledaccordingtoactualrequire-
ments.
Aroutemapisusedtocontrolroutinginformationandrouteredis-
tributionisimplementedbymeansofdeningconditionsamong
routingdomains.Normally,theroutemapisusedinconjunction
withrouteattributestomakeroutedecision.
Tolterroutes,performthefollowingsteps.
St-
ep
CommandFunction
1
ZXR10(config)#route-map<map-tag>[permit/den
y]{<sequence-number>}
Thiscreatesaroutemap.
2
ZXR10(config)#routerbgp<as-number>
ThisconguresASnumber
andentersBGProute
congurationmode.
3
ZXR10(config-router)#network<ip-address>/<mask
>[route-map<map-name>][backdoor]
Thisconguresthelteringof
routesadvertisedfromorto
theneighbor .
Result:Therouteshavebeenlteredbyusingroutemap.
ExampleThisexampledescribeshowtolterroutesbyusingroutemap.
ZXR10_R1(config)#routerbgp100
ZXR10_R1(config-router)#neighbor2005::2remote-as200
ZXR10_R1(config-router)#address-familyipv6
ZXR10_R1(config-router-af)#neighbor2005::2route-mapMAP1out
ZXR10(config-router-af)#exit
CondentialandProprietaryInformationofZTECORPORATION57