R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
98
Parameters
text: Specifies a VLAN name, a string of 1 to 32 characters. The string can include case-sensitive letters,
digits, special characters such as tilde (~), exclamation point (!), at sign (@), pound sign (#), dollar sign
($), percent sign (%), caret (^), ampersand sign (&), asterisk (*), left brace({), right brace (}), left
parenthesis ((), right parenthesis ()), left bracket ([), right bracket (]), left angle bracket (<), right angle
bracket (>), hyphen (-), underscore(_), plus sign (+), equal sign (=), vertical bar (|), back slash (\), colon
(:), semi-colon (;) quotation marks ("), apostrophe ('), comma (,), dot (.), and slash (/), spaces, and other
Unicode characters and symbols.
Usage guidelines
When 802.1X or MAC address authentication is configured on a device, you can use a RADIUS server
to issue VLAN configuration to ports that have passed the authentication. Some servers can send IDs or
names of the issued VLANs to the device.
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
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