Operation Manual – VRRP
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 VRRP Configuration
1-33
II. Network diagram
Host A
Switch A
Switch B
Virtual IPv6 address:
FE80::10
Vlan-int2
FE80::1
Vlan-int2
FE80::2
Host B
Gateway:
FE80::10
Vlan-int3
Internet
Figure 1-11
Network diagram for VRRP interface tracking
III. Configuration procedure
1)
Configure Switch A
# Configure VLAN 2.
<SwitchA> system-view
[SwitchA] ipv6
[SwitchA] vlan 2
[SwitchA-vlan2] port GigabitEthernet 2/0/5
[SwitchA-vlan2] quit
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ipv6 address fe80::1 link-local
[SwitchA-Vlan-interface2] ipv6 address 1::1 64
# Create a standby group 1 and set its virtual IP address to FE80::10.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local
# Set the priority of Switch A in standby group 1 to 110.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 priority 110
# Set the authentication mode for standby group 1 to
simple
and authentication key to
hello
.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 authentication-mode simple hello
# Set the VRRP advertisement interval to 500 centiseconds.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 timer advertise 500
# Set Switch A work in preemption mode. The preemption delay is five seconds.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 preempt-mode timer delay 5
# Set the interface to be tracked.