VLAN Commands 495
name
Use the name command in Interface Configuration mode to add a name to a VLAN. To remove 
the VLAN name, use the no form of this command.
  NOTE: This command cannot be configured for a range of interfaces (range context).
Syntax
name 
string
no name
•
string
 — Comment or description to help identify a specific VLAN (Range: 1–32 characters).
Default Configuration
No name is defined.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
The VLAN name must be unique.
Example
The following example names VLAN number 19 with the name "Marketing."
console(config)#interface vlan 19
console(config-if-vlan19)#name Marketing
protocol group
Use the protocol group command in VLAN Database mode to attach a VLAN ID to the 
protocol-based group identified by 
groupid
. A group may only be associated with one VLAN at a 
time. However, the VLAN association can be changed. The referenced VLAN should be created 
prior to the creation of the protocol-based group except when GVRP is expected to create the 
VLAN.
To detach the VLAN from this protocol-based group identified by this 
groupid
, use the no form 
of this command.
Syntax
protocol group 
groupid vlanid
no protocol group 
groupid
 
vlanid