Cisco Nexus 7000 Series Configuration Manual page 91

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

Advertisement

Configuring Private VLANs Using NX-OS
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
association trunk
{primary-vlan-id}
{secondary-vlan-id}
no switchport
private-vlan
association trunk
[primary-vlan-id
[secondary-vlan-id]]
Description
Associates the Layer 2 isolated trunk
port with the primary and secondary
VLANs of private VLANs. The
secondary VLAN must be an isolated
VLAN. You can associate a maximum
of 16 private VLAN primary and
secondary pairs on each isolated trunk
port. You must reenter the command for
each pair of primary and secondary
VLANs that you are working with.
Each secondary VLAN on an
Note
isolated trunk port must be
associated with a different
primary VLAN. You cannot put
two isolated VLANs that are
associated with the same
primary VLAN into a private
VLAN isolated trunk port. If
you do, the last entry overwrites
the previous entry.
Removes the private VLAN association
from the private VLAN isolated trunk
port.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Configuring a Layer 2 Interface as a Private VLAN Isolated Trunk Port
Purpose
Sets the allowed VLANs for the private VLAN isolated
trunk interface. Valid values are from 1 to 3968 and
4048 to 4093.
When you map the private primary and secondary
VLANs to the isolated 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.
75

Advertisement

Table of Contents
loading

Table of Contents