reset statistics interface vlan

Function

The reset statistics interface vlan command clears statistics about sent and received VLAN packets.

Format

reset statistics interface { interface-type interface-number | interface-name } vlan vlan-id

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of an interface.

-

interface-name

Specifies the name of an interface.

-

vlan vlan-id

Specifies a VLAN in which packet statistics are cleared.

The value is an integer ranging from 1 to 4094.

Views

All views

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vlan execute

Usage Guidelines

Usage Scenario

Before collecting traffic statistics of an interface in a specified VLAN within a period, run the reset vlan statistics command to clear existing traffic statistics.

Precautions

Traffic statistics cannot be restored once being cleared. Therefore, exercise caution when running this reset vlan statistics command.

Example

# Clear statistics about sent and received packets in VLAN 4.
<HUAWEI> reset interface GigabitEthernet 0/1/0 vlan statistics 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >