1236
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
switchport mode private-vlan trunk
switchport mode private-vlan trunk
To configure the port as a secondary trunk port for a private VLAN, use the
switchport mode
private-vlan trunk
command. To remove the isolated trunk port, use the
no
form of this command.
switchport mode private-vlan trunk
[
promiscous
|
secondary
]
no switchport mode private-vlan trunk
[
promiscous
|
secondary
]
Syntax Description
Command Default
None
Command Modes
Interface configuration mode
Command History
Usage Guidelines
In a private VLAN domain, isolated trunks are part of a secondary VLAN. Isolated trunk ports can carry
multiple isolated VLANs.
Examples
This example shows how to configure Ethernet interface 1/1 as a promiscuous trunk port for a private
VLAN:
switch(config)#
interface ethernet 1/1
switch(config-if)#
switchport mode private-vlan trunk promiscous
switch(config-if)#
This example shows how to configure Ethernet interface 1/5 as a secondary trunk port for a private
VLAN:
switch(config)#
interface ethernet 1/5
switch(config-if)#
switchport mode private-vlan trunk secondary
switch(config-if)#
Related Commands
promiscous
(Optional) Specifies the promiscous port.
secondary
(Optional) Specifies the secondary port.
Release
Modification
5.2(1)N1(1)
This command was introduced.
Command
Description
show interface
switchport
Displays information on all interfaces configured as switch ports.
switchport
private-vlan
association trunk
Associates the isolated trunk port with the primary and secondary VLANs
of a private VLAN.