R0106-HP MSR Router Series High Availability Configuration Guide(V7)
76
# Set the authentication mode of VRRP group 1 to simple, and the authentication key to hello.
[RouterB-GigabitEthernet2/0/1] vrrp vrid 1 authentication-mode simple plain hello
# Configure the master to send VRRP packets at an interval of 500 centiseconds.
[RouterB-GigabitEthernet2/0/1] vrrp vrid 1 timer advertise 500
# Configure Router B to operate in preemptive mode, and set the preemption delay to 5 seconds.
[RouterB-GigabitEthernet2/0/1] vrrp vrid 1 preempt-mode delay 5
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 : 500
Admin Status : Up State : Master
Config Pri : 110 Running Pri : 110
Preempt Mode : Yes Delay Time : 5
Auth Type : Simple Key : ******
Virtual IP : 10.1.1.10
Virtual MAC : 0000-5e00-0101
Master IP : 10.1.1.1
VRRP Track Information:
Track Object : 1 State : Positive Pri Reduced : 30
# Display detailed information about VRRP group 1 on Router B.
[RouterB-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 : 500
Admin Status : Up State : Backup
Config Pri : 100 Running Pri : 100
Preempt Mode : Yes Delay Time : 5
Become Master : 2200ms left
Auth Type : Simple Key : ******
Virtual IP : 10.1.1.10
Master IP : 10.1.1.1
The output shows that in VRRP group 1, Router A is the master and Router B is a backup. Packets from Host
A to Host B are forwarded through Router A.
# Disconnect the link between Router A and Router C, and verify that Host A can still ping Host B. (Details
not shown.)
# Display detailed information about VRRP group 1 on Router A.
[RouterA-GigabitEthernet2/0/1] display vrrp verbose
IPv4 Virtual Router Information:










