42
Related commands
display vlan
reset counters interface vlan-interface
Use
reset counters interface vlan-interface
to clear statistics on a VLAN interface.
Syntax
reset counters interface
vlan-interface
[
vlan-interface-id
]
Views
User view
Default command level
2: System level
Parameters
vlan-interface-id
: Specifies a VLAN interface number.
Usage guidelines
Use this command to clear the history statistics if you want to collect statistics within a period.
If the
vlan-interface-id
argument is not specified, this command clears statistics of all VLAN interfaces.
If the
vlan-interface-id
argument is specified, this command clears statistics of the specified VLAN
interface.
Examples
# Clear statistics on VLAN-interface 2.
<Sysname> reset counters interface vlan-interface 2
Related commands
display interface vlan-interface
shutdown
Use
shutdown
to manually shut down a VLAN interface.
Use
undo shutdown
to bring up a VLAN interface.
Syntax
shutdown
undo shutdown
Default
A VLAN interface is not manually shut down. The VLAN interface is up if one or more ports in the VLAN
is up, and goes down if all ports in the VLAN go down.
Views
VLAN interface view
Default command level
2: System level