CLI Guide

Table Of Contents
Layer 2 Switching Commands 865
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”
private-vlan
Use the private-vlan command in VLAN Configuration mode to define a
private VLAN association between the primary and secondary VLANs.
Use the no form of the command to remove the private VLAN association.
Syntax
private-vlan {primary|isolated|community|association [add|remove] vlan-
list}
no private-vlan [association]
association—Defines an association between the primary VLAN and
secondary VLANs.
primary—Specify that the selected VLAN is the primary VLAN.
community—Specify that the selected VLAN is the community VLAN.
isolated—Specify that the selected VLAN is the isolated VLAN.
add—Associates a secondary VLAN with the primary VLAN.
remove—Deletes the secondary VLAN association with the primary
VLAN.