cisco Catalyst 9300 — Assigning Static-Access Ports to a VLAN

Procedure Assigning Static-Access Ports to a VLAN You can assign a static-access port to a VLAN without having VTP globally propagate VLAN configuration information by disabling VTP (VTP transparent mode). If you assign an interface to a VLAN that does not exist, the new VLAN is created. In case of interface templates, make sure to create the VLAN explicitly before applying the command via templates. Configuring VLANs Assigning Static-Access Ports to a VLAN Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode.

Step 3 no vlan vlan-id Example: Device(config)# no vlan 4 Removes the VLAN by entering the VLAN ID. Step 4 end Example: Device(config)# end Returns to privileged EXEC mode. Step 5 show vlan brief Example: Device# show vlan brief Verifies the VLAN removal. Step 6 copy running-config startup-config Example: Device# copy running-config startup-config (Optional) Saves your entries in the configuration file. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 30