R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)
23
name
Use name to configure a name for the VLAN.
Use undo name to restore the default name of the VLAN.
Syntax
name text
undo name
Default
The name of a VLAN is VLAN vlan-id, which is its VLAN ID. For example, the default name of VLAN 100
is VLAN 0100.
Views
VLAN view
Default command level
2: System level
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 router, 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 router.
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 ]










