Reference Guide
VLAN Commands 407
switchport private-vlan
The switchport private-vlan Interface Configuration command configures private-vlan port
VLANs. To return to the default configuration, use the no form of this command.
Syntax
switchport private-vlan promiscuous
pvlan
no switchport private-vlan promiscuous
switchport private-vlan isolated
pvlan
no switchport private-vlan isolated
switchport private-vlan community
cvlan
no switchport private-vlan community
•
pvlan
— Specifies the ID of the primary VLAN.
•
cvlan
— Specifies the ID of the community VLAN.
Default Configuration
The port is not a member of a PVLAN.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
• The community VLAN should be associated with the primary VLAN by using the
private-
vlan community
Interface Configuration mode command.
• The VLAN number must be one that has not been created in the VLAN database.
• As the command is used to add a port to a Private VLAN, prior to adding the port, the port
must be added to the Private Isolated Mode.










