Cisco Nexus 3000 Series Configuration Manual page 44

Nx-os layer 2 switching configuration guide, release 6.x
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring a Layer 2 Interface as a Private VLAN Promiscuous Trunk Port
Step 6
Step 7
Step 8
Step 9
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
34
Command or Action
switchport mode private-vlan trunk
allowed vlan {add vlan-list | all | except
vlan-list | none | remove vlan-list}
Example:
switch(config-if)# switchport
private-vlan trunk allowed vlan
add 1
switch(config-if)#
[no]switchport private-vlan mapping
trunk primary-vlan-id
[secondary-vlan-id] {add
secondary-vlan-list | remove
secondary-vlan-id}
Example:
switch(config-if)# switchport
private-vlan mapping trunk 4 add
5
switch(config-if)#
exit
Example:
switch(config-if)# exit
switch(config)#
show interface switchport
Example:
switch# show interface switchport
Purpose
If you are using a private VLAN as the native
Note
VLAN for the promiscuous trunk port, you must
enter a value for a primary VLAN or a normal
VLAN; you cannot configure a secondary
VLAN as the native VLAN.
Sets the allowed VLANs for the private VLAN
promiscuous trunk interface. Valid values are from 1 to
3968 and 4048 to 4093.
When you map the private primary and secondary
VLANs to the promiscuous trunk port, the system
automatically puts all the primary VLANs into the
allowed VLAN list for this port.
Ensure that the native VLAN is part of the
Note
allowed VLAN list. The default for this
command is to allow no VLANs on this
interface, so you must configure the native
VLAN as an allowed VLAN, unless it is already
added as an associated VLAN, to pass native
VLAN traffic.
Map or remove the mapping for the promiscuous trunk
port with the primary VLAN and a selected list of
associated secondary VLANs. The secondary VLAN can
be either an isolated or community VLAN. The private
VLAN association between primary and secondary
VLANs must be operational to pass traffic. You can map
a maximum of 16 private VLAN primary and secondary
pairs on each promiscuous trunk port. You must reenter
the command for each primary VLAN that you are
working with.
or
Remove the private VLAN promiscuous trunk mappings
from the interface.
Exits the interface configuration mode.
(Optional)
Displays information on all interfaces configured as
switch ports.
Configuring Private VLANs
OL-29545-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents