Chapter5BGPConguration
S2(config-bgp)#neighbor2.1.1.2route-reflector-client
S2(config-bgp)#exit
RunthefollowingcommandsonS3(theconfigurationoftheinterfaceaddressisomitted):
S3(config)#routerbgp100
S3(config-bgp)#neighbor2.1.1.1remote-as100
S3(config-bgp)#exit
CongurationVerication
S1(config-bgp)#showipbgproute
Statuscodes:*-valid,>-best,i-internal,s-stale
Origincodes:i-IGP,e-EGP,?-incomplete
NetworkNextHopMetricLocPrfRtPrfPath
*>1.1.1.0/241.1.1.100?
RunthefollowingcommandtochecktheroutereflectedbyS2onS3:
S3(config-bgp)#showipbgproute
Statuscodes:*-valid,>-best,i-internal,s-stale
Origincodes:i-IGP,e-EGP,?-incomplete
NetworkNextHopMetricLocPrfRtPrfPath
i1.1.1.0/241.1.1.1100200?
5.4.5BGPandVRRPLinkageConfigurationExample
ScenarioDescription
ConguretheVirtualRouterRedundancyProtocol(VRRP)onadownlinkinterface.The
virtualaddressisusedasthegatewayforaccesseddevices.Theuplinkinterfacesare
connectedthroughtheBGP(IBGP ,EBGP ,MP-IBGP ,andMP-EBGP),seeFigure5-22.
Toguaranteethattheuplinkanddownlinktrafcarethesame,theVRRPBGProutefrom
whichmasterpacketsaresentmustbesetastheoptimizedroute.
5-75
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential