name

Syntax

name text

undo name

View

VLAN view

Default 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.

Description

Use name to configure a name for the VLAN.

Use undo name to restore the default name of the VLAN.

By default, the name of a VLAN is its VLAN ID, for example, VLAN 0001.

When 802.1X or MAC address authentication is configured on a switch, 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 switch.

Use VLAN names rather than VLAN IDs to distinguish a large number of VLANs.

Related commands: display vlan.

Examples

# Configure the name of VLAN 2 as Test VLAN.

<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] name Test VLAN