Reference Guide
switchport mode private-vlan
Set PVLAN mode of the selected port.
S4820T
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
Command History
This guide is platform-specific. For command information about other platforms, refer to the 
relevant 
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Introduced on the C-Series and S-Series.
Usage 
Information
The assignment of the various PVLAN port types to port and port channel (LAG) interfaces is 
shown in the following example.
Example
FTOS#conf
FTOS(conf)#interface GigabitEthernet 2/1
FTOS(conf-if-gi-2/1)#switchport mode private-vlan promiscuous
FTOS(conf)#interface GigabitEthernet 2/2
FTOS(conf-if-gi-2/2)#switchport mode private-vlan host
FTOS(conf)#interface GigabitEthernet 2/3
FTOS(conf-if-gi-2/3)#switchport mode private-vlan trunk
FTOS(conf)#interface port-channel 10
FTOS(conf-if-gi-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.
1075










