R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference

97
[Sysname-vlan2] name Test VLAN
Related commands
display vlan
reset counters interface vlan-interface
Use reset counters interface vlan-interface to clear the 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
Before collecting the traffic statistics within a specific period of time on an interface, clear the existing
statistics first.
If the vlan-interface-id argument is not specified, this command clears the statistics of all VLAN-interfaces.
If the vlan-interface-id argument is specified, this command clears the statistics of the specified
VLAN-interface.
Examples
# Clear the 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 cancel the action of shutting down 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