R3102-R3103-HP 6600/HSR6600 Routers High Availability Configuration Guide
177
when track entry 1 turns to negative. In such a case, another router with a higher weight can
take over.
[RouterB] interface gigabitethernet 1/0/1
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 weight track 1 reduced 250
3. Configure Router C:
# Configure VRRP to operate in load balancing mode.
<RouterC> system-view
[RouterC] vrrp mode load-balance
# Create VRRP group 1 and configure its virtual IP address as 10.1.1.1.
[RouterC] interface gigabitethernet 1/0/1
[RouterC-GigabitEthernet1/0/1] ip address 10.1.1.4 24
[RouterC-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.1
# Set Router C to operate in preemptive mode and set the preemption delay to 5 seconds.
[RouterC-GigabitEthernet1/0/1] vrrp vrid 1 preempt-mode timer delay 5
[RouterC-GigabitEthernet1/0/1] quit
# Create track entry 1 to associate with the physical status of GigabitEthernet 1/0/2 on Router
C. When the track entry becomes negative, it means that the interface fails.
[RouterC] track 1 interface gigabitethernet 1/0/2
# Configure VF tracking to monitor track entry 1 and specify the value by which the weight
decreases, making the weight of Router C decrease by more than 245 (250 in this example)
when track entry 1 turns to negative. In such a case, another router with a higher weight can
take over.
[RouterC] interface gigabitethernet 1/0/1
[RouterC-GigabitEthernet1/0/1] vrrp vrid 1 weight track 1 reduced 250
[RouterC-GigabitEthernet1/0/1] quit
# Create track entries 2 and 3 to monitor Router A and Router B, respectively. If a track entry
becomes negative, it indicates that the corresponding router fails.
[RouterC] bfd echo-source-ip 1.2.3.4
[RouterC] track 2 bfd echo interface gigabitethernet 1/0/1 remote ip 10.1.1.2 local
ip 10.1.1.4
[RouterC] track 3 bfd echo interface gigabitethernet 1/0/1 remote ip 10.1.1.3 local
ip 10.1.1.4
# Configure VF tracking to monitor track entry 2. When track entry 2 becomes negative, the LVF
on Router C whose corresponding AVF is on the router with the IP address of 10.1.1.2
immediately becomes active. Router C takes over the AVF on Router A.
[RouterC] interface gigabitethernet 1/0/1
[RouterC-GigabitEthernet1/0/1] vrrp vrid 1 track 2 forwarder-switchover member-ip
10.1.1.2
# Configure VF tracking to monitor track entry 3. When track entry 3 becomes negative, the LVF
on Router C whose corresponding AVF is on the router with the IP address of 10.1.1.3
immediately becomes active. Router C takes over the AVF on Router B.
[RouterC-GigabitEthernet1/0/1] vrrp vrid 1 track 3 forwarder-switchover member-ip
10.1.1.3
4. Verify the configuration:
After the configuration, Host A can ping the external network. To verify the configuration, use the
display vrrp verbose command.
# Display the detailed information about VRRP group 1 on Router A.










