cisco Catalyst 9300 — Configuring Wired Dynamic PVLAN

Configuring Wired Dynamic PVLAN Configuring Wired Dynamic PVLAN Command or Action Purpose Step 5 exit Example: Device(config-vlan)# exit Returns to global configuration mode. Step 6 vlan vlan-id Example: Device(config)# vlan 100 Enters VLAN configuration mode and designates or creates a VLAN that will be the primary VLAN. The VLAN ID range is 2 to 1001 and 1006 to 4094. Step 7 private-vlan primary Example: Device(config-vlan)# private-vlan primary Designates the VLAN as the primary VLAN. Step 8 private-vlan association [add | remove] secondary vlan list _ _ Example: Device(config-vlan)# private-vlan association 200 Associates the secondary VLANs with the primary VLAN.

It can be a single private-VLAN ID or a hyphenated range of private-VLAN IDs. • 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. • The secondary vlan list parameter can _ _ contain multiple community VLAN IDs but only one isolated VLAN ID. • Enter a secondary vlan list, or use the _ _ add keyword with a secondary vlan list _ _ to associate secondary VLANs with a primary VLAN. • Use the remove keyword with a secondary vlan list to clear the _ _ association between secondary VLANs and a primary VLAN.

• The command does not take effect until you exit VLAN configuration mode. Step 9 exit Example: Returns to global configuration mode. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 108