reset vrrp6 statistics

Function

The reset vrrp6 statistics command clears statistics about packets sent and received by a Virtual Router Redundancy Protocol for IPv6 (VRRP6) backup group.

Format

reset vrrp6 [ interface { interface-name | interface-type interface-number } ] [ vrid virtual-router-id ] statistics

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the type and number of the interface on which a VRRP6 backup group resides.

-

vrid virtual-router-id

Specifies the ID of a VRRP6 backup group.

The value is an integer ranging from 1 to 255.

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vrrp execute

Usage Guidelines

Usage Scenario

To clear statistics about packets sent and received by a VRRP6 backup group for fault locating, run the reset vrrp6 statistics command.

  • If only ifType and ifNum parameters are specified, this command clears statistics about packets sent and received by all VRRP6 backup groups on a specified interface.
  • If only virtual-Value is specified, this command clears statistics about packets sent and received by a specified VRRP6 backup group on all interfaces.
  • If neither ifType nor ifNum nor virtual-Value parameter is specified, this command clears statistics about packets sent and received by all VRRP6 backup groups.

Precautions

Statistics about packets sent and received by a VRRP6 backup group cannot be restored after being cleared. Exercise caution when running this command.

Example

# Clear statistics about packets sent and received by all VRRP6 backup groups.
<HUAWEI> reset vrrp6 statistics
# Clear statistics about packets sent and received by VRRP6 backup group 1 on GE 0/1/2.
<HUAWEI> reset vrrp6 interface GigabitEthernet 0/1/2 vrid 1 statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >