R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)

24
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
Default command level
2: System level
Usage guidelines
A VLAN-interface shut down with the shutdown command is in DOWN (Administratively) state until you
bring it up, regardless of how the state of the ports in the VLAN changes.
Before configuring parameters for a VLAN-interface, shut down the VLAN-interface with the shutdown
command to prevent the configurations from affecting the network. Use the undo shutdown command to
bring up a VLAN-interface after you have configured related parameters and protocols for the
VLAN-interface.