Configuring A Layer 2 Interface As A Private Vlan Isolated Trunk Port - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring Private VLANs Using NX-OS
Command or Action
Step 5
exit
Example:
switch(config-if)# exit
switch(config)#
Step 6
show interface switchport
Example:
switch# show interface switchport
Step 7
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
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

Beginning with Cisco NX-OS Release 5.0(2), 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.
Ensure that you are in the correct VDC (or enter the switchto vdc command). You can repeat VLAN names
and IDs in different VDCs, so you must confirm that you are working in the correct VDC.
Configuring a Layer 2 Interface as a Private VLAN Isolated Trunk Port
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Purpose
Exits the interface configuration mode.
(Optional)
Displays information on all interfaces
configured as switch ports.
(Optional)
Copies the running configuration to the
startup configuration.
73

Advertisement

Table of Contents
loading

Table of Contents