switchport mode private-vlan
switchport mode private-vlan
Use the switchport mode private-vlan interface configuration command to configure a port as a
promiscuous or host private VLAN port. Use the no switchport mode command to reset the mode to the
default access mode.
The promiscuous keyword is visible only on network node interfaces (NNIs).
Note
Syntax Description
host
promiscuous
Defaults
The default private-VLAN mode is neither host nor promiscuous.
The default switchport mode is access.
Command Modes
Interface configuration
Command History
Release
12.2(25)EX
Usage Guidelines
A private-VLAN promiscuous port must be an NNI. To configure a UNI or an ENI as an NNI, enter the
port-type nni interface configuration command.
A private-VLAN host or promiscuous port cannot be a Switched Port Analyzer (SPAN) destination port.
If you configure a SPAN destination port as a private-VLAN host or promiscuous port, the port becomes
inactive.
Do not configure private VLAN on ports with these other features:
•
•
•
•
A private-VLAN port cannot be a SPAN destination port.
Cisco ME 3400 Ethernet Access Switch Command Reference
2-678
switchport mode private-vlan {host | promiscuous}
no switchport mode private-vlan
Configure the interface as a private-VLAN host port. Host ports belong to
private-VLAN secondary VLANs and are either community ports or isolated
ports, depending on the VLAN that they belong to.
Configure the interface as a private-VLAN promiscuous port. Promiscuous
ports are members of private-VLAN primary VLANs. This keyword is only
available on NNIs. User network interfaces (UNIs) or enhanced network
interfaces (ENIs) cannot be configured as private VLAN promiscuous ports.
Modification
This command was introduced.
dynamic-access port VLAN membership
Port Aggregation Protocol (PAgP) for only NNIs or ENIs
Link Aggregation Control Protocol (LACP) only for NNIs or ENIs
Multicast VLAN Registration (MVR)
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
OL-9640-10