ZXR105900ESeriesCongurationGuide(IPv4Routing)
routesarelimited,youcanusethedefaultconguration.IfS1orS2isrestarted,packets
forwardingisnotinterrupted.
Figure5-23BGPGracefulRestartCongurationExample
CongurationFlow
1.EstablishaBGPneighborrelationbetweenS1andS2.
2.EnablethegracefulrestartfunctiononS1andS2respectively.
CongurationCommands
RunthefollowingcommandsonS1:
S1(config)#interfaceloopback1
S1(config-if-loopback1)#ipaddress172.20.96.1255.255.255.255
S1(config-if-loopback1)#exit
S1(config)#interfacegei-0/1/1/1
S1(config-if-gei-0/1/1/1)#ipaddress25.60.61.60255.255.255.252
S1(config-if-gei-0/1/1/1)#exit
S1(config)#routerbgp18004
S1(config-bgp)#neighbor172.20.96.2remote-as18004
S1(config-bgp)#neighbor172.20.96.2update-sourceloopback1
S1(config-bgp)#bgpgraceful-restart
RunthefollowingcommandsonS2:
S2(config)#interfaceloopback1
S2(config-if-loopback1)#ipaddress172.20.96.2255.255.255.255
S2(config-if-loopback1)#exit
S2(config)#interfacegei-0/1/1/1
S2(config-if-gei-0/1/1/1)#ipaddress25.60.61.61255.255.255.252
S2(config-if-gei-0/1/1/1)#exit
S2(config)#routerbgp18004
S2(config-bgp)#neighbor172.20.96.1remote-as18004
S2(config-bgp)#neighbor172.20.96.1update-sourceloopback1
S2(config-bgp)#bgpgraceful-restart
/*Tolearnroutesbetweenloopbackaddresses,configuretheIGP*/
CongurationVerication
Iftrafccanbeforwardedproperlyaftertheactive/standbyswitchoveroperation,the
congurationisperformedcorrectly.
5-78
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential