Related
Commands
private-vlan mode
— sets the mode of the selected VLAN to community, isolated,
or primary.
show vlan private-vlan
— displays type and status of PVLAN interfaces.
show vlan private-vlan mapping
— displays the primary-secondary VLAN mapping.
switchport mode private-vlan
— sets PVLAN mode of the selected port.
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
Command
History
Version 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-gi-2/1)#switchport mode private-vlan promiscuous
Dell(conf)#interface GigabitEthernet 2/2
Dell(conf-if-gi-2/2)#switchport mode private-vlan host
Dell(conf)#interface GigabitEthernet 2/3
Dell(conf-if-gi-2/3)#switchport mode private-vlan trunk
Dell(conf)#interface port-channel 10
Dell(conf-if-gi-2/3)#switchport mode private-vlan promiscuous
1058
Private VLAN (PVLAN)