R0106-HP MSR Router Series High Availability Configuration Guide(V7)

92
Figure 26 Network diagram
Configuration procedure
1. Configure the IP address of each interface as shown in Figure 26. (Details not shown.)
2. Configure Router A:
# Configure track entry 1, and associate it with the link status of the uplink interface
GigabitEthernet 2/0/2.
[RouterA] track 1 interface gigabitethernet 2/0/2
# Create VRRP group 1, and configure the virtual IP address 10.1.1.10 for the group.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] vrrp vrid 1 virtual-ip 10.1.1.10
# Set the priority of Router A in VRRP group 1 to 110.
[RouterA-GigabitEthernet2/0/1] vrrp vrid 1 priority 110
# Associate VRRP group 1 with track entry 1 and decrease the router priority by 30 when the state
of track entry 1 changes to negative.
[RouterA-GigabitEthernet2/0/1] vrrp vrid 1 track 1 reduced 30
3. Configure VRRP on Router B:
<RouterB> system-view
[RouterB] interface gigabitethernet 2/0/1
# Create VRRP group 1, and configure the virtual IP address 10.1.1.10 for the group.
[RouterB-GigabitEthernet2/0/1] vrrp vrid 1 virtual-ip 10.1.1.10
Verifying the configuration
# Ping Host B from Host A to verify that Host B is reachable. (Details not shown.)
# Display detailed information about VRRP group 1 on Router A.
[RouterA-GigabitEthernet2/0/1] display vrrp verbose
IPv4 Virtual Router Information:
Running Mode : Standard
Total number of virtual routers : 1
Interface GigabitEthernet2/0/1
VRID : 1 Adver Timer : 100
Admin Status : Up State : Master