ZXR10T600/T1200UserManual(IPv6Volume)
TomaintainanddiagnoseBGP4+,usethefollowingcommands.
CommandFunction
ZXR10#showbgpallprotocol
Thisshowstheconguration
informationofBGPprotocol
module.
ZXR10#showbgpipv6unicastneighbor[in|out]<ipv6-
address>
Thisshowstheinformationof
BGPadjacencyandcurrent
neighborstate.
ZXR10#showbgpipv6unicastThisshowstheentriesinBGP
routingtable.
ZXR10#showbgpipv6unicastsummary
Thisshowsthestatesofallthe
BGP4neighbors.
ZXR10#debugipbgpinThistracksandshows
noticationpacketssentby
BGP ,andliststheerrornumber
andsub-errornumber .
ZXR10#debugipbgpoutThistracksandshowsthe
noticationpacketsreceivedby
BGP ,andliststheerrornumber
andsub-errornumber
ZXR10#debugipbgpeventsThistracksandshowsthe
transitioneventsofstate
machineconnectedtoBGP .
Result:ThemaintenanceanddiagnosisofBGP4+hasbeencon-
gured.
BGP4+Configuration
Example
ThisisacomprehensiveBGP4+congurationexample.Itinvolves
theactualapplicationsofsuchBGP4functionsasrouteaggrega-
tionandstaticrouteredistribution.
AsshowninFigure7,theR4establishestheEBGPwiththeR1;the
R1establishestheIBGPwiththeR2;andtheR2establishesthe
multi-hopEBGPwiththeR5.SupposetheR4hasthefourstatic
routesmarkedatthetoprightcorneroftheFigure7.During
theR4conguration,onlyaggregateandadvertisethe2004::/16
networksegment.TheEBGPmulti-hoprelationshipisestablished
betweentheR2andtheR5throughtheR3.Makesurethatthe
addressesthroughwhichtheadjacencyisestablishedbetweentwo
routerscanintercommunicate(thiscanbeconguredthroughthe
IGPconguration,whichisomittedhere).
62CondentialandProprietaryInformationofZTECORPORATION