Cisco Nexus 7000 Series Configuration Manual page 95

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

Advertisement

Configuring Private VLANs Using NX-OS
SUMMARY STEPS
1. config t
2. interface {type slot/port}
3. switchport
4. switchport mode private-vlan trunk promiscuous
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/1
switch(config-if)#
Step 3
switchport
Example:
switch(config-if)# switchport
switch(config-if)#
Step 4
switchport mode private-vlan trunk promiscuous
Example:
switch(config-if)# switchport mode private-vlan trunk
promiscuous
switch(config-if)#
Step 5
switchport private-vlan trunk native vlan vlan-id
Example:
switch(config-if)# switchport private-vlan trunk
native vlan 5
Configuring a Layer 2 Interface as a Private VLAN Promiscuous Trunk Port
Purpose
Enters global configuration mode.
Selects the Layer 2 port to configure as a private VLAN
promiscuous trunk port.
Configures the Layer 2 port as a switch port.
Configures the Layer 2 port as a promiscuous trunk port
to carry traffic for multiple private VLANs as well as
normal VLANs.
(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
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
If you are using a private VLAN as the native
VLAN for the promiscuous trunk port, you must
enter a value for a primary VLAN or a normal
VLAN; you cannot configure a secondary
VLAN as the native VLAN.
79

Advertisement

Table of Contents
loading

Table of Contents