ZXR10ZSRV2CongurationGuide(IPv6)
2.EnterVRRPcongurationmodefromglobalcongurationmode,andthenenterthe
interfacestocongureVRRP .
3.CongureVRRP1andcorrespondingvirtualaddressonR1.CongureVRRP2and
correspondingvirtualaddressonR2.SetapriorityforVRRP1higherthanthatfor
VRRP2onR1,andsetapriorityforVRRP2higherthanthatforVRRP1onR2.In
thisway,R1actsasamasterrouteringroup1,whilebeingaslaverouteringroup
2.R2actsasamasterrouteringroup2,whilebeingaslaverouteringroup1.This
enablesR1andR2toactasbackuproutersforeachother.
CongurationCommands
ThecongurationonR1isasfollows:
R1(config)#interfacegei-1/1
R1(config-if-gei-1/1)#noshutdown
R1(config-if-gei-1/1)#ipv6enable
R1(config-if-gei-1/1)#ipv6addresslink-localfe80::1:1
R1(config-if-gei-1/1)#exit
R1(config)#vrrp
R1(config-vrrp)#interfacegei-1/1
R1(config-vrrp-if-gei-1/1)#vrrp1ipv6fe80::1:1
R1(config-vrrp-if-gei-1/1)#vrrp2ipv6fe80::1:2
R1(config-vrrp-if-gei-1/1)#end
ThecongurationonR2isasfollows:
R2(config)#interfacegei-1/1
R2(config-if-gei-1/1)#noshutdown
R2(config-if-gei-1/1)#ipv6enable
R2(config-if-gei-1/1)#ipv6addresslink-localfe80::1:2
R2(config-if-gei-1/1)#exit
R2(config)#vrrp
R2(config-vrrp)#interfacegei-1/1
R2(config-vrrp-if-gei-1/1)#vrrp1ipv6fe80::1:1
R2(config-vrrp-if-gei-1/1)#vrrp2ipv6fe80::1:2
R2(config-vrrp-if-gei-1/1)#end
CongurationVerication
ViewtheVRRPinformationandcongurationresultonR1,asshownbelow.
R1#showvrrpipv6brief
InterfacevrIDPriTimeAPLStateMasteraddrVRouteraddr
gei-1/112551000APMasterFE80:0:0:0:0:0:FE80:0:0:0:0:0:1
1:1:1
gei-1/121001000PBackupFE80:0:0:0:0:0:FE80:0:0:0:0:0:1
1:1:2
/*A:whethertherouteristheaddressowner.
P:whetherpreemptionisconfigured.
23-8
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential