reset vlan statistics

Function

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

Format

reset vlan statistics vlan-id

Parameters

Parameter Description Value
vlan-id

Specifies a VLAN in which packet statistics are cleared.

The value is an integer ranging from 1 to 4094.

Views

User view

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 vlan statistics 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >