Configuring Private VLANs Mapping Secondary VLANs to a Primary VLAN Layer 3 VLAN Interface Command or Action Purpose Device(config-if)# private-vlan mapping 501-503 Note The private-vlan mapping interface configuration command only affects private VLAN traffic that is Layer 3 switched. • The secondary vlan list parameter cannot _ _ contain spaces. It can contain multiple comma-separated items. Each item can be a single private-VLAN ID or a hyphenated range of private-VLAN IDs. • Enter a secondary vlan list, or use the _ _ add keyword with a secondary vlan list _ _ to map the secondary VLANs to a primary VLAN.
• Use the remove keyword with a secondary vlan list to clear the mapping _ _ between secondary VLANs and a primary VLAN. Step 5 end Example: Device(config)# end Returns to privileged EXEC mode. Step 6 show interfaces private-vlan mapping Example: Device# show interfaces private-vlan mapping Verifies the configuration. Step 7 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) 90