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 information about
how to configure the information center, see Network Management and Monitoring Configuration
Guide.
To enable the trap function for VRRP:
Step
1.
Enter system view.
2.
Enable the trap function for
VRRP.
Displaying and maintaining VRRP for IPv4
Task
Display VRRP group status.
Display VRRP group statistics.
Clear VRRP group statistics.
Configuring VRRP for IPv6
VRRP for IPv6 configuration task list
Task
Configuring a VRRP working mode
Command
system-view
snmp-agent trap enable vrrp
[ authfailure | newmaster ]
Command
display vrrp [ verbose ]
[ interface interface-type
interface-number [ vrid
virtual-router-id ] ] [ | { begin |
exclude | include }
regular-expression ]
display vrrp statistics
[ interface interface-type
interface-number [ vrid
virtual-router-id ] ] [ | { begin |
exclude | include }
regular-expression ]
reset vrrp statistics [ interface
interface-type interface-number
[ vrid virtual-router-id ] ]
151
Remarks
N/A
Optional.
By default, the trap function for
VRRP is enabled.
For more information about the
command, see the snmp-agent
trap enable command in Network
Management and Monitoring
Command Reference.
Remarks
Available in any view.
Available in any view.
Available in user view.
Remarks
Optional.