switchport mode private-vlan promiscuous

To set the interface type to be a promiscuous port for a private VLAN, use the switchport mode private-vlan promiscuous command.

switchport mode private-vlan promiscuous

Syntax Description

This command has no keywords or arguments.

Command Default

None

Command Modes

Interface configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

When you configure a port as a promiscuous private VLAN port and one of the following applies, the port becomes inactive:

•The port does not have a valid private VLAN mapping configured.

•The port is a Switched Port Analyzer (SPAN) destination.

If you delete a private VLAN port mapping or if you configure a private port as a SPAN destination, the deleted private VLAN port mapping or the private port that is configured as a SPAN destination becomes inactive.

See the private-vlan command for more information on promiscuous ports.

Examples

This example shows how to set a port to promiscuous mode for private VLANs:

switch(config-if)# switchport mode private-vlan promiscuous 

Related Commands

Command
Description

show interface switchport

Displays information on all interfaces configured as switch ports.

show vlan private-vlan

Displays the status of the private VLAN.