Cisco Nexus 7000 Series Configuration Manual page 96

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 6
switchport 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)#
Step 7
Enter one of the following commands:
Option
switchport
private-vlan
mapping trunk
primary-vlan-id {add
secondary-vlan-list |
remove
secondary-vlan-id}
no switchport
private-vlan
mapping trunk
[primary-vlan-id
[secondary-vlan-id]]
Example:
switch(config-if)# switchport private-vlan mapping
trunk 4 add 5
switch(config-if)#
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
80
Description
Maps or removes 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.
Removes the private VLAN
promiscuous trunk mappings from the
interface.
Configuring Private VLANs Using NX-OS
Purpose
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.

Advertisement

Table of Contents
loading

Table of Contents