Command Line Interface Guide

802 VLAN Commands
Command Mode
VLAN Configuration mode
User Guidelines
The VLAN name may include any alphanumeric characters including a space,
underscore, or dash. Enclose the string in double quotes to include spaces
within the name. The surrounding quotes are not used as part of the name.
The CLI does not filter illegal characters and may truncate entries at the first
illegal character or reject the entry entirely. The name of VLAN 1 cannot be
changed.
Example
The following example configures a VLAN name of office2 for VLAN 2.
console(config)#vlan 2
console(config-vlan2)#name "RDU-NOC Management VLAN"
protocol group
Use the protocol group command in VLAN Configuration 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
groupid
— The protocol-based VLAN group ID, which is automatically
generated when you create a protocol-based VLAN group with the
vlan
protocol group
command. To see the group ID associated with the name
of a protocol group, use the
show port protocol all
command.
vlanid
— A valid VLAN ID.
2CSPC4.X8100-SWUM100.book Page 802 Wednesday, August 29, 2012 6:23 PM