Configuring A Layer 2 Interface As A Private Vlan Promiscuous Trunk Port - Cisco Nexus 7000 Series Configuration Manual

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring a Layer 2 Interface as a Private VLAN Promiscuous Trunk Port

Command or Action
Step 5
exit
Example:
switch(config-if)# exit
switch(config)#
Step 6
show interface switchport
Example:
switch# show interface switchport
Step 7
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
This example shows how to configure the Layer 2 port 2/1 as a promiscuous port associated with the primary
VLAN 10 and the secondary isolated VLAN 50:
switch# config t
switch(config)# interface ethernet 2/1
switch(config-if)# switchport mode private-vlan promiscuous
switch(config-if)# switchport private-vlan mapping 10 50
switch(config-if)# exit
switch(config)#
Configuring a Layer 2 Interface as a Private VLAN Promiscuous Trunk Port
Beginning with Cisco NX-OS Release 5.0(2), you can configure a Layer 2 interface as a private VLAN
promiscuous trunk port and then associate that promiscuous trunk port with multiple primary VLANs. These
promiscuous trunk ports carry traffic for multiple primary VLANs as well as normal VLANs.
Note
You must associate the primary and secondary VLANs before they become operational on the private
VLAN promiscuous trunk port.
Before You Begin
Ensure that the private VLAN feature is enabled.
Ensure that you are in the correct VDC (or enter the switchto vdc command). You can repeat VLAN names
and IDs in different VDCs, so you must confirm that you are working in the correct VDC.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
78
Configuring Private VLANs Using NX-OS
Purpose
Exits interface configuration mode.
(Optional)
Displays information on all interfaces
configured as switch ports.
(Optional)
Copies the running configuration to the
startup configuration.

Advertisement

Table of Contents
loading

Table of Contents