R3303-HP HSR6800 Routers High Availability Configuration Guide

237
Figure 61 Network diagram
Configuration procedure
1. Specify the IP address for each interface as shown in Figure 61. (Details not shown.)
2. Configure a track entry on Router A:
# Configure track entry 1, and associate it with the physical status of the uplink interface
GigabitEthernet 1/0/2.
[RouterA] track 1 interface gigabitethernet 1/0/2
3. Configure VRRP on Router A:
# Create VRRP group 1, and configure the virtual IP address 10.1.1.10 for the group.
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.10
# Set the priority of Router A in VRRP group 1 to 110.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 priority 110
# Configure to monitor track entry 1 and specify the priority decrement as 30.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 track 1 reduced 30
4. Configure VRRP on Router B:
<RouterB> system-view
[RouterB] interface gigabitethernet 1/0/1
# Create VRRP group 1, and configure the virtual IP address 10.1.1.10 for the group.
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.10
Verifying the configuration
After configuration, ping Host B on Host A, and you can see that Host B is reachable. Use the display
vrrp command to view the configuration result.
# Display detailed information about VRRP group 1 on Router A.
[RouterA-GigabitEthernet1/0/1] display vrrp verbose
IPv4 Standby Information:
Run Mode : Standard
Run Method : Virtual MAC
Total number of virtual routers : 1
Interface GigabitEthernet1/0/1