Cisco Nexus 7000 Series Configuration Manual page 90

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 Isolated Trunk Port
SUMMARY STEPS
1. config t
2. interface {type slot/port}
3. switchport
4. switchport mode private-vlan trunk secondary
5. (Optional) switchport private-vlan trunk native vlan vlan-id
6. switchport private-vlan trunk allowed vlan {add vlan-list | all | except vlan-list | none | remove vlan-list}
7. Enter one of the following commands:
8. exit
9. (Optional) show interface switchport
10. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
interface {type slot/port}
Example:
switch(config)# interface ethernet 2/11
switch(config-if)#
Step 3
switchport
Example:
switch(config-if)# switchport
switch(config-if)#
Step 4
switchport mode private-vlan trunk secondary
Example:
switch(config-if)# switchport mode private-vlan trunk
secondary
switch(config-if)#
Step 5
switchport private-vlan trunk native vlan vlan-id
Example:
switch(config-if)# switchport private-vlan trunk
native vlan 5
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
74
Configuring Private VLANs Using NX-OS
Purpose
Enters global 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.
Note
You cannot put community VLANs into 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.

Advertisement

Table of Contents
loading

Table of Contents