R211x-HP Flexfabric 11900 High Availability Command Reference

66
reset vrrp statistics
Use reset vrrp statistics to clear statistics for IPv4 VRRP groups.
Syntax
reset vrrp statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
interface interface-type interface-number: Specifies an interface by its type and number.
vrid virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.
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