Chapter23IPv6VRRPConguration
CongurationFlow
1.EntertheinterfacesonwhichVRRPshouldbeenabled.EnableIPv6,andcongure
IPv6addresses.
2.EnterVRRPcongurationmodefromglobalcongurationmode,andthenenterthe
interfacestocongureVRRP .
3.CongurethesameVRRPgroupIDandvirtualaddressesforR1andR2.T omakeR1
asthemasterrouter,setapriorityforR1higherthanthatforR2inthesamegroup,or
congureR1astheIPaddressowner(iftheR1addressisusedasthevirtualaddress,
R1hasatoppriorityof255).Thepriorities(thedefaultpriorityis100)areallthesame,
andtherouterwhereVRRPisenabledrsttopublishmessagesbecomesthemaster
oneinthegroup.ThismeansthatyoucanalsocongurerelatedcommandsonR1
rsttomakeitasthemasterone.
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
/*FortheconfigurationoftheIPv6addressinVRRPv3,thevirtualmasterIP
addressmustbealink-localaddress,thatis,anaddressbeginningwithFE80,
suchasvrrp1ipv6fe80::1.Iftheaddressconfiguredhereisaglobal,the
addresscanonlybeusedasthevirtualsecondaryIPaddress,suchas
vrrp1ipv61::2secondary.*/
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)#end
CongurationVerication
ViewtheVRRPinformationandcongurationresultonR1,asshownbelow.
23-5
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential