Cisco Nexus 3000 Series Configuration Manual page 39

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

Advertisement

Configuring Private VLANs
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
OL-29545-03
Command or Action
config t
Example:
switch# config t
switch(config)#
interface {type slot/port}
Example:
switch(config)# interface ethernet 2/11
switch(config-if)#
switchport
Example:
switch(config-if)# switchport
switch(config-if)#
switchport mode private-vlan trunk
secondary
Example:
switch(config-if)# switchport mode
private-vlan trunk secondary
switch(config-if)#
switchport private-vlan trunk native vlan
vlan-id
Example:
switch(config-if)# switchport
private-vlan trunk native vlan 5
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)#
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
Configuring a Layer 2 Interface as a Private VLAN Isolated Trunk Port
Purpose
Enters configuration mode.
Selects the Layer 2 port to configure as a private
VLAN isolated trunk port.
Configures the Layer 2 port as a switch port.
Configures the Layer 2 port as an isolated trunk
port to carry traffic for multiple isolated VLANs.
You cannot put community VLANs into
Note
the isolated trunk port.
(Optional)
Sets the native VLAN for the 802.1Q trunk. Valid
values are from 1 to 3968 and 4048 to 4093. The
default value is 1.
Note
If you are using a private VLAN as the
native VLAN for the isolated trunk port,
you must enter a value for a secondary
VLAN or a normal VLAN; you cannot
configure a primary VLAN as the native
VLAN.
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.
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents