HP MSR2000/3000/4000 Router Series High Availability Command Reference

12
Usage guidelines
If no interface or VRRP group is specified, this command clears statistics for all IPv4 VRRP groups. If only
an interface is specified, this command clears statistics for all IPv4 VRRP groups on the specified interface.
If both an interface and an IPv4 VRRP group are specified, this command clears statistics for the specified
IPv4 VRRP group on the specified interface.
Examples
# Clear statistics for all IPv4 VRRP groups on all interfaces.
<Sysname> reset vrrp statistics
Related commands
display vrrp statistics
snmp-agent trap enable vrrp
Use snmp-agent trap enable vrrp to enable SNMP notifications for VRRP globally.
Use undo snmp-agent trap enable vrrp to disable SNMP notifications for VRRP globally.
Syntax
snmp-agent trap enable vrrp [ auth-failure | new-master ]
undo snmp-agent trap enable vrrp [ auth-failure | new-master ]
Default
SNMP notifications for VRRP are enabled.
Views
System view
Predefined user roles
network-admin
Parameters
auth-failure: Generates notifications as defined in RFC 2787 when the device in a VRRP group receives
a VRRP advertisement with the authentication type or key not matching the local configuration.
new-master: Generates notifications as defined in RFC 2787 when the state of a device in a VRRP group
changes from Initialize or Backup to Master.
Usage guidelines
When the notification function is enabled, the device can send notifications to the destination host. To
specify the notification type (inform or trap) and target host, use the snmp-agent target-host command.
Examples
# Generate notifications as defined in RFC 2787 when the device in a VRRP group receives a VRRP
advertisement with the authentication type or key not matching the local configuration.
<Sysname> system-view
[Sysname] snmp-agent trap enable vrrp auth-failure
vrrp check-ttl enable
Use vrrp check-ttl enable to enable TTL check for IPv4 VRRP packets.