cisco Catalyst 9300 — Configuring a Layer 2 Interface as an Isolated Private VLAN Trunk Port on a Portchannel

Configuring a Layer 2 Interface as an Isolated Private VLAN Trunk Port on a Portchannel To configure a Layer 2 interface as an isolated private VLAN trunk port on a portchannel, perform this task: Configuring Private VLANs Configuring a Layer 2 Interface as an Isolated Private VLAN Trunk Port on a Portchannel Command or Action Purpose Step 5 switchport private-vlan trunk allowed vlan { word | add |all | except |none | remove } vlan list _ Example: Device(config-if)# switchport private-vlan trunk allowed vlan 10 3-4 Configures a list of allowed VLANs on a PVLAN trunk port. The list must include primary VLANs. In addition, normal VLANs can be configured as well.

You can use the no keyword to remove all allowed VLANs on a PVLAN promiscuous trunk port. Step 6 switchport private-vlan trunk native vlan vlan id _ Example: Device(config-if)# switchport private-vlan trunk native vlan 10 Configures a VLAN to which untagged packets (as in IEEE 802.1Q tagging) are assigned on a PVLAN trunk port. You can use the no keyword to remove native VLAN configuration on a PVLAN promiscuous trunk port. The native VLAN is then set to default VLAN1. Step 7 end Example: Device(config)# end Returns to privileged EXEC mode. Step 8 show interfaces [interface-id] switchport Example: Device# show interfaces gigabitethernet1/0/2 switchport Verifies the configuration.

Step 9 copy running-config startup config Example: Device# copy running-config startup-config Saves your entries in the device startup configuration file. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 85