Virtual Local Area Network (VLAN) Commands
1081
OL-32830-01 Command Line Interface Reference Guide
56
Example
The following example set vlan 2 to be primary vlan:
switchxxxxxx(config)#
interface vlan 2
switchxxxxxx(config-if)#
private-vlan primary
56.29 private-vlan association
Use the private-vlan association Interface VLAN Configuration mode command to
configure the association between the primary VLAN and secondary VLANs. Use
the no form of this command to remove the association.
Syntax
private-vlan association
[add | remove]
secondary-vlan-list
no private-vlan association
Parameters
•
add
secondary-vlan-list
—List of VLAN IDs of type secondary to add to a
primary VLAN. Separate nonconsecutive VLAN IDs with a comma and no
spaces. Use a hyphen to designate a range of IDs.This is the default action.
•
remove
secondary-vlan-list
—List of VLAN IDs of type secondary to remove
association from a primary VLAN. Separate nonconsecutive VLAN IDs with
a comma and no spaces. Use a hyphen to designate a range of IDs.
Default Configuration
No private VLANs are configured.
Command Mode
Interface (VLAN) Configuration mode
User Guidelines
•
The command can only be executed in the context of the primary VLAN.
•
A private VLAN cannot be removed or have its type changed, if it is
associated with other private VLANs.
•
A primary VLAN can be associated with only a single, isolated VLAN.
•
A secondary VLAN can be associated with only one primary VLAN.
Summary of Contents for 300 Series
Page 2: ......