ZXR10 ZSR V2 Configuration Guide (IPv6)
2.
Enter VRRP configuration mode from global configuration mode, and then enter the
interfaces to configure VRRP.
3.
Configure VRRP 1 and corresponding virtual address on R1. Configure VRRP 2 and
corresponding virtual address on R2. Set a priority for VRRP 1 higher than that for
VRRP 2 on R1, and set a priority for VRRP 2 higher than that for VRRP 1 on R2. In
this way, R1 acts as a master router in group 1, while being a slave router in group
2. R2 acts as a master router in group 2, while being a slave router in group 1. This
enables R1 and R2 to act as backup routers for each other.
Configuration Commands
The configuration on R1 is as follows:
R1(config)#interface gei-1/1
R1(config-if-gei-1/1)#no shutdown
R1(config-if-gei-1/1)#ipv6 enable
R1(config-if-gei-1/1)#ipv6 address link-local fe80::1:1
R1(config-if-gei-1/1)#exit
R1(config)#vrrp
R1(config-vrrp)#interface gei-1/1
R1(config-vrrp-if-gei-1/1)#vrrp 1 ipv6 fe80::1:1
R1(config-vrrp-if-gei-1/1)#vrrp 2 ipv6 fe80::1:2
R1(config-vrrp-if-gei-1/1)#end
The configuration on R2 is as follows:
R2(config)#interface gei-1/1
R2(config-if-gei-1/1)#no shutdown
R2(config-if-gei-1/1)#ipv6 enable
R2(config-if-gei-1/1)#ipv6 address link-local fe80::1:2
R2(config-if-gei-1/1)#exit
R2(config)#vrrp
R2(config-vrrp)#interface gei-1/1
R2(config-vrrp-if-gei-1/1)#vrrp 1 ipv6 fe80::1:1
R2(config-vrrp-if-gei-1/1)#vrrp 2 ipv6 fe80::1:2
R2(config-vrrp-if-gei-1/1)#end
Configuration Verification
View the VRRP information and configuration result on R1, as shown below.
R1#show vrrp ipv6 brief
Interface
vrID
Pri
Time
A
P
L
State
Master addr
VRouter addr
gei-1/1
1
255
1000
A
P
Master FE80:0:0:0:0:0: FE80:0:0:0:0:0:1
1:1
:1
gei-1/1
2
100
1000
P
Backup FE80:0:0:0:0:0: FE80:0:0:0:0:0:1
1:1
:2
/*A: whether the router is the address owner.
P: whether preemption is configured.
23-8
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential