reset vlan statistics
Use reset vlan statistics to clear packet statistics for a VLAN.
Syntax
In standalone mode:
reset vlan vlan-id statistics [ slot slot-number ]
In IRF mode:
reset vlan vlan-id statistics [ chassis chassis-number slot slot-number ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command clears VLAN packet statistics on all cards. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command clears VLAN packet statistics on all cards. (In IRF mode.)
Examples
# Clear packet statistics for VLAN 2.
<Sysname> reset vlan 2 statistics
Related commands
display vlan statistics
statistics enable