< Home

reset vrrp statistics

Function

The reset vrrp statistics command clears statistics about the packets sent and received by the VRRP backup group.

Format

reset vrrp [ interface interface-type interface-number ] [ vrid virtual-router-id ] statistics

Parameters

Parameter Description Value

interface-type interface-number

Specifies the type and number of an interface configured with the VRRP backup group.

-

virtual-router-ID

Specifies the ID of the VRRP backup group.

A decimal integer ranging from 1 to 255

Views

User view

Default Level

3: Management level

Usage Guidelines

When using the reset vrrp command, note the following:

  • If the interface name is specified but the number of the VRRP backup group is not, statistics about all the packets of the VRRP backup group on the specified interface are cleared.

  • If the ID of the VRRP backup group is specified but the interface name is not, the packet statistics about the VRRP backup group on all the interfaces are cleared.

  • If neither the interface name nor the ID of the VRRP backup group is specified, statistics about packets of all the VRRP backup groups are cleared.

Example

# Clear all statistics about packets of VRRP backup group 1 on GE0/0/2.

<sysname> reset vrrp interface GigabitEthernet 0/0/2 vrid 1 statistics

# Statistics about all backup group packets are cleared.

<sysname> reset vrrp statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >