2-565
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
private-vlan
private-vlan
To configure private VLANs and the association between a private VLAN and a secondary VLAN, use
the private-vlan command. To return to the default value, use the no form of this command.
private-vlan {isolated | community | twoway-community | primary}
private-vlan association secondary-vlan-list [{add secondary-vlan-list} |
{remove secondary-vlan-list}]
no private-vlan {isolated | community | twoway-community | primary}
no private-vlan association
Syntax Description
Defaults Private VLANs are not configured.
Command Modes VLAN configuration mode
Command History
Usage Guidelines You cannot configure VLAN 1 or VLANs 1001 to 1005 as private VLANs.
VTP does not support private VLANs. You must configure private VLANs on each device where you
want private VLAN ports.
isolated Designates the VLAN as an isolated private VLAN.
community Designates the VLAN as the community private VLAN.
twoway-community Designates the VLAN as a host port that belongs to a twoway-community
secondary VLAN
primary Designates the VLAN as the primary private VLAN.
association Creates an association between a secondary VLAN and a primary VLAN.
secondary-vlan-list Specifies the number of the secondary VLAN.
The list can contain only one isolated VLAN ID; it can also contain multiple
community or twoway-community VLAN IDs
add (Optional) Associates a secondary VLAN to a primary VLAN.
remove (Optional) Clears the association between a secondary VLAN and a primary
VLAN.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(12c)EW Support for extended addressing was added.
12.2(20)EW Support for community VLAN was added.
15.0(2)SG Support for twoway-community was introduced.