152
Syntax
name text
undo name
View
VLAN view
Default level
2: System level
Parameter
text: Specifies a VLAN name, a string of 1 to 32 characters. The string can include case-sensitive letters,
digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /), and spaces.
Example
# Configure the name of VLAN 2 as Test VLAN.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] name Test VLAN
reset counters interface vlan-interface
Description
Use the reset counters interface vlan-interface command to clear the statistics on a VLAN interface.
Before collecting the traffic statistics within a specific period of time on an interface, clear the existing
statistics first.
If the vlan-interface-id parameter is not specified, this command clears the statistics of all VLAN interfaces.
If the vlan-interface-id parameter is specified, this command clears the statistics of the specified VLAN
interface.
Related commands: display interface vlan-interface.
Syntax
reset counters interface vlan-interface [ vlan-interface-id ]
View
User view
Default level
2: System level
Parameter
vlan-interface-id: Specifies a VLAN interface number.
Example
# Clear the statistics on VLAN-interface 2.
<Sysname> reset counters interface vlan-interface 2