Cisco Nexus 3000 Series Configuration Manual page 42

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 Isolated Trunk Port
Step 8
Step 9
Step 10
Step 11
This example shows how to configure the Layer 2 port 2/1 as a private VLAN isolated trunk port associated
with three different primary VLANs and an associated secondary VLAN:
switch# config t
switch(config)# interface ethernet 2/1
switch(config-if)# switchport mode private-vlan trunk
switch(config-if)# switchport private-vlan trunk allowed vlan add 1
switch(config-if)# switchport private-vlan association trunk 10 101
switch(config-if)# switchport private-vlan association trunk 20 201
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
32
Command or Action
Example:
switch(config-if)# switchport
private-vlan association trunk 10 101
switch(config-if)#
[no] switchport private-vlan association trunk
{primary-vlan-id [secondary-vlan-id]}
Example:
switch(config-if)# switchport
private-vlan association trunk 10 101
switch(config-if)#
exit
Example:
switch(config-if)# exit
switch(config)#
show interface switchport
Example:
switch# show interface switchport
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Configuring Private VLANs
Purpose
Associate 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 isolated
Note
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.
or
Remove the private VLAN association from the
private VLAN isolated trunk port.
Exits the interface configuration mode.
(Optional)
Displays information on all interfaces configured
as switch ports.
(Optional)
Copies the running configuration to the startup
configuration.
OL-29545-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents