Chapter8BGP4+Conguration
R1conguration:
ZXR10_R1(config)#routerbgp100
ZXR10_R1(config-router)#neighbor2005::2remote-as200
ZXR10_R1(config-router)#address-familyipv6
ZXR10_R1(config-router-af)#neighbor2005::2activate
ZXR10_R1(config-router-af)#network2001::/64
R2conguration:
ZXR10_R2(config)#routerbgp200
ZXR10_R2(config-router)#neighbor2005::1remote-as100
ZXR10_R2(config-router)#address-familyipv6
ZXR10_R2(config-router-af)#neighbor2005::1activate
ZXR10_R2(config-router-af)#network2003::/64
Intheaboveconguration,R1andR2mutuallydenethepeer
partyasBGPneighbor .AnEBGPsessionwillbeestablishedbe-
causeR1andR2belongtodifferentASs.R1willadvertisethe
network2001::/64andR2willadvertisethenetwork2003::/64.
ConfiguringBGP4+Route
Advertisement
TocongureBGP4+routeadvertisement,performthefollowing
steps.
St-
ep
CommandFunction
1
ZXR10(config)#routerbgp<as-number>ThisentersBGP4+
congurationmode.
2
ZXR10(config-router)#network<ipv6-address><ne
t-mask>
Thisadvertisestheknown
network,whichcanbelearned
throughconnectedroutes,
dynamicroutingandstatic
routes.
3
ZXR10(config-router)#redistribute<protocol>[metric
<metric-value>][route-map<map-tag>]
Thiscommandredistributes
therouteslearntbyother
routingprotocolstoBGP
routingtable.
Result:BGP4+routeadvertisementhasbeencongured.
ConfiguringBGP4+Aggregation
Advertisement
BGP4+canaggregatethelearntmultipleroutesintoonerouting
informationforadvertisingoutside,thusgreatlyreducingthenum-
berofentriesinroutingtable.
CondentialandProprietaryInformationofZTECORPORATION55