63
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
mdc-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.