Enabling the trap function for vrrp, Displaying and maintaining vrrp for ipv4 – H3C Technologies H3C S10500 Series Switches User Manual
Page 144
135
NOTE:
•
You might configure different authentication modes and authentication keys for the VRRP groups on an
interface. However, the 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 to send 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 a 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
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 the snmp-agent trap enable
command in
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
- H3C S5800 Series Switches H3C S5820X Series Switches H3C WX3000E Series Wireless Switches H3C SecPath F1000-E H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS