Usage guidelines
Some servers can send IDs or names of the issued VLANs to the switch. You can use VLAN names,
rather than VLAN IDs, to distinguish a large number of VLANs.
Examples
# Configure the name of VLAN 2 as test vlan.
<Sysname> system-view
[Sysname] vlan 2
[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
Predefined user roles
network-admin
mdc-admin
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, you need to
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 shut down a VLAN interface.
Use undo shutdown to cancel the action of manually shutting down a VLAN interface.
103