Configuring an Interface as a Private VLAN Promiscuous Port
In a PVLAN domain, promiscuous ports are part of the primary VLAN. 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.
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 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 port for a PVLAN.
You can enable promiscuous ports and promiscuous trunk
switch(config-if)#
switchport mode
private-vlan promiscuous
Step 4
ports only on base-board ports (base-board ports are the ports
on the switch). You cannot configure promiscuous ports on
FEX (HIF) ports.
If you try to configure promiscuous ports on FEX
(HIF) ports, the device will display an error.
Note
Configures the port as a promiscuous port and associates the
specified port with a primary VLAN and a selected list of
switch(config-if)#
switchport
private-vlan mapping
Step 5
secondary VLANs. The secondary VLAN can be either an
isolated or community VLAN.
{
primary-vlan-id
}
{
secondary-vlan-list
|
add
secondary-vlan-list
|
remove
secondary-vlan-list
}
(Optional)
Clears the mapping from the PVLAN.
switch(config-if)#
no switchport
private-vlan mapping
Step 6
The following example shows how to configure Ethernet interface 1/4 as a promiscuous port associated with
primary VLAN 5 and secondary VLAN 200:
switch#
configure terminal
switch(config)#
interface ethernet 1/4
switch(config-if)#
switchport
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
37
Configuring Private VLANs
Configuring an Interface as a Private VLAN Promiscuous Port