Configuring Private VLANs
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface type slot/port
Step 3
switch(config-if)# switchport mode private-vlan
promiscuous
Step 4
switch(config-if)# switchport private-vlan
mapping {primary-vlan-id} {secondary-vlan-list
| add secondary-vlan-list | remove
secondary-vlan-list}
Step 5
switch(config-if)# no switchport private-vlan
mapping
This example shows how to configure Ethernet interface 1/4 as a promiscuous port associated with primary
VLAN 5 and secondary isolated VLAN 200:
switch# configure terminal
switch(config)# interface ethernet 1/4
switch(config-if)# switchport mode private-vlan promiscuous
switch(config-if)# switchport private-vlan mapping 5 200
Configuring a Promiscuous Trunk Port
You cannot perform this task because the Cisco Nexus 3000 Series device does not support Private VLAN
trunk ports.
Configuring an Isolated Trunk Port
You cannot perform this task because the Cisco Nexus 3000 Series device does not support Private VLAN
trunk ports.
Configuring the Allowed VLANs for PVLAN Trunking Ports
You cannot perform this task because the Cisco Nexus 3000 Series device does not support Private VLAN
trunk ports.
Purpose
Enters configuration mode.
Selects the port to configure as a private VLAN promiscuous
port. A physical interface is required. This port cannot be on a
Fabric Extender.
Configures the port as a promiscuous port for a private VLAN.
You can only enable a physical Ethernet port as the promiscuous
port.
Configures the port as a promiscuous port and associates the
specified port with a primary VLAN and a selected list of
secondary VLANs. The secondary VLAN can be either an isolated
or community VLAN.
(Optional)
Clears the mapping from the private VLAN.
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U1(1)
Configuring a Promiscuous Trunk Port
43