
133
NOTE:
•
You might configure different authentication modes and authentication keys for the VRRP groups on an
interface. However, members of the same VRRP group must use the same authentication mode and
authentication key.
•
Excessive traffic might cause a backup to trigger a change of its status because the backup does not
receive any VRRP advertisements for a specified period of time. To solve this problem, prolong the time
interval for sending VRRP advertisements.
•
Configuring different intervals for sending VRRP advertisements on the routers in a VRRP group might
cause a backup to trigger a change of its status because the backup does not receive any VRRP
advertisements for the specified period of time. To solve this problem, configure the same interval for
sending VRRP advertisements on each router in the VRRP group.
Enabling the trap function for VRRP
When the trap function is enabled for VRRP, VRRP generates traps with severity level
errors
to report its
key events. The traps are sent to the information center of the device, where you can configure whether
to output the trap information and the output destination. For how to configure the information center, see
the
Network Management and Monitoring Configuration Guide
.
Follow these steps to enable the trap function for VRRP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the trap function for VRRP
snmp-agent trap enable vrrp
[
authfailure
|
newmaster
]
Optional
Enabled by default.
NOTE:
For more information about the
snmp-agent trap enable vrrp
command, see command
snmp-agent trap
enable
in the
Network Management and Monitoring Command Reference.
Displaying and maintaining VRRP for IPv4
To do…
Use the command…
Remarks
Display VRRP group status
display
vrrp
[
verbose
] [
interface
interface-type
interface-number
[
vrid
virtual-router-id
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display VRRP group statistics
display vrrp
statistics
[
interface
interface-type
interface-number
[
vrid
virtual-router-id
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Clear VRRP group statistics
reset vrrp statistics
[
interface
interface-type
interface-number
[
vrid
virtual-router-id
]
]
Available in user
view