R3102-R3103-HP 6600/HSR6600 Routers High Availability Configuration Guide
167
Figure 44 Network diagram
Configuration procedure
1. Configure Router A:
<RouterA> system-view
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] ip address 202.38.160.1 255.255.255.0
# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 202.38.160.111
# Configure the priority of Router A in the VRRP group 1 as 110, which is higher than that of
Router B (100), so that Router A can become the master.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 priority 110
# 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 vrid 1 preempt-mode timer delay 5
2. Configure Router B:
<RouterB> system-view
[RouterB] interface gigabitethernet 1/0/1
[RouterB-GigabitEthernet1/0/1] ip address 202.38.160.2 255.255.255.0
# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 202.38.160.111
# Configure Router B to operate in preemptive mode, with the preemption delay set to 5
seconds.
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 preempt-mode timer delay 5
3. Verify the configuration:
After the configuration, Host B can be pinged successfully on Host A. To verify your
configuration, use the display vrrp verbose command.
# Display the detailed information about VRRP group 1 on Router A.
[RouterA] display vrrp verbose
IPv4 Standby Information:
Run Mode : Standard
Host A
Router A
Router B
Virtual IP address:
202.38.160.111/24
GE1/0/1
202.38.160.1/24
GE1/0/1
202.38.160.2/24
Host B
202.38.160.3/24
203.2.3.1/24
Internet










