1122
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter N Commands
name (VLAN configuration)
name (VLAN configuration)
To set the name for a VLAN, use the
name
command. To remove the user-configured name from a
VLAN
, u
se the
no
form of this command.
name
vlan-name
no name
Syntax Description
Command Default
None
Command Modes
VLAN configuration mode
Command History
Usage Guidelines
You cannot change the name for the default VLAN, VLAN 1, or for the internally allocated VLANs.
Examples
This example shows how to name VLAN 2:
switch(config)#
vlan 2
switch(config-vlan)#
name accounting
Related Commands
vlan-name
Name of the VLAN; you can use up to 32 alphanumeric, case-sensitive
characters. The default name is VLAN
xxxx
where
xxxx
represents four
numeric digits (including leading zeroes) equal to the VLAN ID number (for
example, VLAN0002).
Release
Modification
5.2(1)N1(1)
This command was introduced.
Command
Description
show vlan
Displays VLAN information.