Chapter5BGPConguration
S1(config-vrrp-if-gei-0/1/1/1)#exit
S1(config-vrrp)#exit
/*ConfigurethetrackVRRPobjectinsamgrmode*/
S1(config)#samgr
S1(config-samgr)#trackztevrrpinterfacegei-0/1/1/1vrid66
/*ConfigurethetracksamgrobjectinBGPaddressfamilymode*/
S1(config-samgr)#exit
S1(config)#routerbgp66.66
S1(config-bgp)#trackzteadjust-priority67
RunthefollowingcommandsonS2:
S2(config)#interfacegei-0/1/1/1
S2(config-if-gei-0/1/1/1)#noshutdown
S2(config-if-gei-0/1/1/1)#ipaddress13.13.13.3255.255.255.0
/*ConfiguretheVRRPinterfacesinVRRPmode.
ThevirtualVRRPaddressis13.13.13.66*/
S2(config-if-gei-0/1/1/1)#exit
S2(config)#vrrp
S2(config-vrrp)#interfacegei-0/1/1/1
S2(config-vrrp-if-gei-0/1/1/1)#vrrp66ipv413.13.13.66
S2(config-vrrp-if-gei-0/1/1/1)#exit
S2(config-vrrp)#exit
/*ConfigurethetrackVRRPobjectinsamgrmode*/
S2(config)#samgr
S2(config-samgr)#trackztevrrpinterfacegei-0/1/1/1vrid66
/*ConfigurethetracksamgrobjectinBGPaddressfamilymode*/
S2(config-samgr)#exit
S2(config)#routerbgp66.66
S2(config-bgp)#trackzteadjust-priority67
CongurationVerication
IfS1operatesastheactiverouter,trafcisforwardedfromS1toS3.IfS1isdisconnected,
thetrafcisforwardedfromS2toS3.
5.4.6BGPGracefulRestartConfigurationExample
ScenarioDescription
S1andS2areinaBGPneighborrelation,seeFigure5-23.Enablethegracefulrestart
functiononS1andS2.OnerouteroperatesastheGRandanotherasthehelper.If
5-77
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential