Cisco Nexus 9000 Series Configuration Manual page 76

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

Advertisement

Configuring a Layer 2 Interface as a Private VLAN Isolated Trunk Port
Step 6
Step 7
This example shows how to configure the Layer 2 port 2/1 as a host port for a private VLAN and associate
it to primary VLAN 10 and secondary VLAN 50:
switch# config t
switch(config)# interface ethernet 2/1
switch(config-if)# switchport mode private-vlan host
switch(config-if)# switchport private-vlan host-association 10 50
switch(config-if)# exit
switch(config)#
Configuring a Layer 2 Interface as a Private VLAN Isolated Trunk Port
You can configure a Layer 2 interface as a private VLAN isolated trunk port. These isolated trunk ports carry
traffic for multiple secondary VLANs as well as normal VLANs.
You must associate the primary and secondary VLANs before they become operational on the private
Note
VLAN isolated trunk port.
Before You Begin
Ensure that the private VLAN feature is enabled.
Procedure
Step 1
Step 2
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
62
Command or Action
show interface switchport
Example:
switch# show interface switchport
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
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)#
Configuring Private VLANs Using NX-OS
Purpose
(Optional)
Displays information on all interfaces
configured as switch ports.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters configuration mode.
Selects the Layer 2 port to configure as a private VLAN
isolated trunk port.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents