CLI Guide

Table Of Contents
Layer 2 Switching Commands 892
console(config-if)#switchport mode dot1q-tunnel
console(config-if)#exit
switchport mode private-vlan
Use the switchport mode private-vlan command in Interface Configuration
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 | trunk promiscuous |
trunk secondary}
no switchport mode private-vlan
host—Configure the interface as a private VLAN host port. Host ports are
community or isolated ports, depending on the VLAN to which they
belong.
promiscuous—Configure the interface as a private VLAN promiscuous
port. Promiscuous ports are members of the primary VLAN.
trunk promiscuous—Configures an interface as a private VLAN
promiscuous trunk port. These ports can carry traffic of several primary
VLANs and normal VLANs.
trunk secondary—Configures an interface as a private VLAN isolated
trunk port. These ports can carry traffic of several secondary VLANs and
normal VLANs.
Default Configuration
This command has no default configuration. By default, a port is neither
configured as promiscuous or host.
Command Mode
Interface Configuration (Ethernet or port-channel)