458 CHAPTER 33: VLAN COMMANDS
name The name Interface Configuration mode command adds a name to a
VLAN. To remove the VLAN name, use the no form of this command.
Syntax
name string
no name
Parameters
■ string — Unique name to be associated with this VLAN.
(Range: 1-32 characters)
Default Configuration
No name is defined.
Command Mode
Interface Configuration (VLAN) mode. Cannot be configured for a range
of interfaces (range context).
User Guidelines
The name string may include numbers and other characters (#,@,% etc.)
but no spaces.
Example
The following example gives VLAN number 19 the name Marketing.
switchport access
vlan
The switchport access vlan Interface Configuration mode command
configures the VLAN ID when the interface is in access mode. To restore
the default configuration, use the no form of this command.
Syntax
switchport access vlan {vlan-id }
no switchport access vlan
Console(config)# interface vlan 19
Console(config-if)# name Marketing