Configuring Private VLANs Using NX-OS
Step 4
Step 5
Step 6
Step 7
Configuring a Layer 2 FEX Interface as a Private VLAN Isolated Trunk Port
The following configures the isolated trunk port and host association PVLAN pair.
Procedure
Step 1
Step 2
Step 3
Command or Action
[no] switchport private-vlan host-association
{primary-vlan-id} {secondary-vlan-id}
Example:
switch(config-if)# switchport private-vlan
host-association 10 50
exit
Example:
switch(config-if)# exit
switch(config)#
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)#
switchport
Example:
switch(config-if)# switchport
switch(config-if)#
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Configuring a Layer 2 FEX Interface as a Private VLAN Isolated Trunk Port
Purpose
Configures the host association PVLAN pair
on the port for a primary VLAN and the
associated secondary VLAN.
Exits the interface configuration mode.
(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.
Configures the Layer 2 port as a switch port.
69