switch(config-if)#
switchport mode private-vlan promiscuous
switch(config-if)#
switchport private-vlan mapping 5 200
Configuring a Promiscuous Trunk Port
In a PVLAN domain, promiscuous trunks are part of the primary VLAN. Promiscuous trunk ports can carry
multiple primary VLANs. Multiple secondary VLANs under a given primary VLAN can be mapped to a
promiscuous trunk port.
Configuring a promiscuous port involves two steps. First, you define the port as a promiscuous port and then
you configure the mapping between a secondary VLAN and the primary VLAN. Multiple primary VLANs
can be enabled by configuring multiple mappings.
The number of mappings on a PVLAN trunk port is limited to 128.
Note
Before You Begin
Ensure that the PVLAN feature is enabled.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Selects the port to configure as a PVLAN promiscuous trunk
port. A base-board interface is required. This port cannot be
on a FEX interface (HIF interface).
switch(config)#
interface type
slot
/
port
Step 2
If this is a 10G breakout port, the
slot
/
port
syntax is
QSFP-module
/
port
.
Note
If this is a QSFP+ GEM or a breakout port, the
port
syntax is
QSFP-module
/
port
.
Note
Configures the interface as a Layer 2 interface and deletes
any configuration specific to Layer 3 on this interface.
switch(config-if)#
switchport
Step 3
Configures the port as a promiscuous trunk port for a PVLAN.
You can enable promiscuous trunk ports only on base-board
switch(config-if)#
switchport
mode private-vlan trunk
promiscuous
Step 4
ports (base-board ports are the ports on the switch). You
cannot configure promiscuous trunk ports on FEX (HIF) ports.
If you try to configure promiscuous trunk ports on
FEX (HIF) ports, the device will display an error.
Note
Maps the trunk port with the primary and secondary VLANs
of a PVLAN. The secondary VLAN can be either an isolated
or community VLAN.
switch(config-if)#
switchport
private-vlan mapping trunk
{
primary-vlan-id
}
{
secondary-vlan-id
}
Step 5
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
38
Configuring Private VLANs
Configuring a Promiscuous Trunk Port