reset counters interface vlan-interface

Use reset counters interface vlan-interface to clear statistics on a VLAN interface.

Syntax

reset counters interface vlan-interface [ interface-number ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

vlan-interface interface-number: Specifies a VLAN interface by its number. If you do not specify the interface-number argument, this command clears statistics on all VLAN interfaces.

Usage guidelines

Use this command to clear the history statistics before you collect statistics within a time period.

Examples

# Clear statistics on VLAN-interface 2.

<Sysname> reset counters interface vlan-interface 2

Related commands

display interface vlan-interface