Enabling the trap function for vrrp, Displaying and maintaining ipv4 vrrp – H3C Technologies H3C MSR 50 User Manual
Page 80
72
Step Command
Remarks
73.
Configure the time interval for
the master in the VRRP group
to send VRRP advertisements.
vrrp vrid virtual-router-id timer
advertise adver-interval
Optional.
1 second by default.
74.
Disable TTL check on VRRP
packets.
vrrp un-check ttl
Optional.
By default, TTL check on VRRP packets
is enabled.
You do not need to create a VRRP
group before executing this command.
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 Command
Remarks
75.
Enter system view.
system-view
N/A
76.
Enable the trap function for
VRRP.
snmp-agent trap enable vrrp
[ authfailure | newmaster ]
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.
Displaying and maintaining IPv4 VRRP
Task 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.