VLAN Commands 823
Parameter Description
Default Configuration
This command has no default association or mapping configuration.
Command Mode
Interface Configuration (physical or port-channel)
User Guidelines
This command has no user guidelines.
switchport mode private-vlan
Use the switchport mode private-vlan command in Interface Config mode to
define a private VLAN association for an isolated or community interface or a
mapping for a promiscuous interface.
Use the no form of the command to remove the private VLAN association or
mapping from the interface.
Syntax
switchport mode private-vlan {host|promiscuous}
no switchport mode
Parameter Description
host-association Defines VLAN associations for community or host ports.
mapping Defines the private VLAN mapping for promiscuous ports.
primary-vlan-id Primary VLAN ID of a private VLAN.
secondary-vlan-id Secondary (isolated or community) VLAN ID of a private
VLAN.
add Associates the secondary VLAN with the primary one.
remove Deletes the secondary VLANs from the primary VLAN
association.
secondary-vlan-list A list of secondary VLANs to be mapped to a primary VLAN.
2CSPC4.X8100-SWUM102.book Page 823 Friday, March 15, 2013 8:56 AM