R3303-HP HSR6800 Routers High Availability Configuration Guide

191
Figure 51 Network diagram
Configuration procedure
1. Configure Router A:
# Configure VRRP to operate in load balancing mode.
<RouterA> system-view
[RouterA] vrrp mode load-balance
# Create VRRP group 1 and configure its virtual IPv6 addresses as FE80::10 and 1::10.
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] ipv6 address fe80::1 link-local
[RouterA-GigabitEthernet1/0/1] ipv6 address 1::1 64
[RouterA-GigabitEthernet1/0/1] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local
[RouterA-GigabitEthernet1/0/1] vrrp ipv6 vrid 1 virtual-ip 1::10
# Set the priority of Router A in VRRP group 1 to 120, which is higher than that of Router B (110)
and that of Router C (100), so that Router A can become the master.
[RouterA-GigabitEthernet1/0/1] vrrp ipv6 vrid 1 priority 120
# Configure Router A to operate in preemptive mode so that it can become the master whenever
it works correctly. Configure the preemption delay as 5 seconds to avoid frequent status
switchover.
[RouterA-GigabitEthernet1/0/1] vrrp ipv6 vrid 1 preempt-mode timer delay 5
# Enable Router A to send RA messages so that hosts in network segment 1::/64 can learn the
default gateway address.
[RouterA-GigabitEthernet1/0/1] undo ipv6 nd ra halt
[RouterA-GigabitEthernet1/0/1] quit
# Create track entry 1 to associate with the physical status of GigabitEthernet 1/0/2 on Router A.
When the track entry becomes negative, it means that the interface fails.