Example:ConfiguringaLayer2InterfaceasaPromiscuousPrivateVLANTrunk Port This example shows how to configure an interface as a promiscuous private VLAN trunk port and to verify the configuration: Device# configure terminal Device(config)# interface GigabitEthernet6/0/4 Device(config-if)# switchport private-vlan trunk native vlan 20 Device(config-if)# switchport private-vlan trunk allowed vlan 20 Device(config-if)# switchport private-vlan mapping trunk 20 501-503 Device(config-if)# switchport mode private-vlan trunk promiscuous Device(config-if)# end Device# show interface GigabitEthernet6/0/4 switchport Name: Gi6/0/4 Switchport: Enabled Administrative Mode:
private-vlan trunk promiscuous Operational Mode: private-vlan trunk promiscuous Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: 20 Administrative private-vlan trunk Native VLAN tagging: enabled Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: 20 Administrative private-vlan trunk associations:
none Administrative private-vlan trunk mappings: 20 (VLAN0020) 501 (VLAN0501) 502 (VLAN0502) 503 (VLAN0503) Operational private-vlan: 20 (VLAN0020) 501 (VLAN0501) 502 (VLAN0502) 503 (VLAN0503) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Vepa Enabled: false Appliance trust: none Example: Configuring a Layer 2 Interface as an Isolated Private VLAN Trunk Port on a Portchannel This example shows how to configure an interface as an isolated private VLAN trunk port on a port channel and to verify the configuration: Configuring Private VLANs Example:
Configuring a Layer 2 Interface as a Promiscuous Private VLAN Trunk Port VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 94