Using the reset vlan statistics command, you can clear traffic statistics in a specified VLAN.
Parameter |
Description |
Value |
---|---|---|
vlan-id |
Specifies the ID of a VLAN. |
The value is an integer that ranges from 1 to 4094. |
Usage Scenario
This command is used when you need to collect new packet statistics in a VLAN. After this command is executed, the packet count in the VLAN becomes 0.
Prerequisites
The traffic statistics function has been enabled in the VLAN by using the statistic enable (VLAN view) command.
Precautions
Traffic statistics cannot be restored after they are cleared. Exercise caution when you use the command.