Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
2-35
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet 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, use 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 VLANxxxx where xxxx represents four
numeric digits (including leading zeroes) equal to the VLAN ID number, for
example, VLAN0002.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show vlan Displays VLAN information.