CLI Guide
switchport mode private-vlan
Set PVLAN mode of the selected port.
Syntax
[no] switchport mode private-vlan {host | promiscuous | trunk}
To remove PVLAN mode from the selected port, use the no switchport mode
private-vlan command.
Parameters
host Enter the keyword host to configure the selected port or
port channel as an isolated interface in a PVLAN.
promiscuous Enter the keyword promiscuous to configure the selected
port or port channel as an promiscuous interface.
trunk Enter the keyword trunk to configure the selected port or
port channel as a trunk port in a PVLAN.
Defaults Disabled.
Command Modes INTERFACE
Supported Modes Full—Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
The assignment of the various PVLAN port types to port and port channel (LAG)
interfaces is shown in the following example.
Example
Dell#conf
Dell(conf)#interface GigabitEthernet 2/1
Dell(conf-if-te-2/1)#switchport mode private-vlan promiscuous
Dell(conf)#interface GigabitEthernet 2/2
Dell(conf-if-te-2/2)#switchport mode private-vlan host
Dell(conf)#interface GigabitEthernet 2/3
Dell(conf-if-te-2/3)#switchport mode private-vlan trunk
Dell(conf)#interface port-channel 10
Dell(conf-if-te-2/3)#switchport mode private-vlan promiscuous
Related
Commands
private-vlan mode — sets the mode of the selected VLAN to community, isolated,
or primary.
private-vlan mapping secondary-vlan — sets the mode of the selected VLAN to
primary and then associates the secondary VLANs to it.
show interfaces private-vlan — displays type and status of PVLAN interfaces.
Private VLAN (PVLAN)
1205