The reset vrrp statistics command clears statistics about received and sent packets of VRRP groups.
reset vrrp [ interface interface-type interface-number ] [ vrid virtual-router-id ] statistics
Parameter | Description | Value |
---|---|---|
interface interface-type interface-number | Clears statistics about sent and received packets of all VRRP groups on a specified interface.
|
- |
vrid virtual-router-id | Clears statistics about sent and received packets of a specified VRRP group. If this parameter is not specified, statistics about sent and received packets of all VRRP groups or a specified VRRP group on the device are cleared. | The value is an integer that ranges from 1 to 255. |
Before recollecting statistics about VRRP Advertisement packets, run the reset vrrp statistics command to clear existing statistics.
PrecautionsThe cleared statistics cannot be restored. Exercise caution when executing the reset vrrp statistics command.
# Clear statistics about sent and received packets of VRRP group 1 on VLANIF100.
<HUAWEI> reset vrrp interface vlanif 100 vrid 1 statistics
# Clear statistics about all the packets of VRRP group 1.
<HUAWEI> reset vrrp vrid 1 statistics
# Clear statistics about packets of all VRRP groups on the switch.
<HUAWEI> reset vrrp statistics