1088 CHAPTER 87: VRRP CONFIGURATION
You may configure different authentication modes and authentication keys for the
standby groups on an interface. However, the members of the same standby
group must use the same authentication mode and authentication key.
Factors like excessive traffic or different timer setting on switches can cause the
Backup timer to time-out abnormally and change the state. To solve this problem,
you can prolong the time interval to send VRRP packets and configure a delay for
preemption.
Displaying and
Maintaining VRRP for
IPv6
IPv4-Based VRRP
Configuration
Examples
This section provides these configuration examples:
■ “Single VRRP Standby Group Configuration Example” on page 1088
■ “VRRP Interface Tracking Configuration Example” on page 1091
■ “Multiple VRRP Standby Group Configuration Example” on page 1094
Single VRRP Standby
Group Configuration
Example
Network requirements
■ Host A needs to access Host B on the Internet, using 202.38.160.111/24 as its
default gateway.
■ Switch A and Switch B belong to standby group 1 with the virtual IP address of
202.38.160.111/24.
■ If Switch A operates normally, packets sent from Host A to Host B are
forwarded by Switch A; if Switch A fails, packets sent from Host A to Host B are
forwarded by Switch B.
Configure the authentication
mode and authentication key
when the standby groups
send and transmit VRRP
packets
vrrp ipv6 vrid
virtual-router-id
authentication-mode
simple key
Optional
Authentication is not
performed by default
Configure the time interval for
the Master in the standby
group to send VRRP
advertisement
vrrp ipv6 vrid
virtual-router-id timer
advertise adver-interval
Optional
100 centiseconds by default
To do… Use the command… Remarks
To do… Use the command… Remarks
Display VRRP status display vrrp ipv6 [verbose] [ interface
interface-type interface-number [ vrid
virtual-router-id ]]
Available in any
view
Display VRRP
statistics
display vrrp ipv6 statistics [ interface
interface-type interface-number [vrid
virtual-router-id ]]
Available in any
view
Remove VRRP
statistics
reset vrrp ipv6 statistics [interface
interface-type interface-number [vrid
virtual-router-id ]]
Available in user
view