Deleting a VLAN When you delete a VLAN from a device that is in VTP server mode, the VLAN is removed from the VLAN database for all devices in the VTP domain. When you delete a VLAN from a device that is in VTP transparent mode, the VLAN is deleted only on that specific device . You cannot delete the default VLANs for the different media types: Ethernet VLAN 1 and FDDI or Token Ring VLANs 1002 to 1005. When you delete a VLAN, any ports assigned to that VLAN become inactive. They remain associated with the VLAN (and thus inactive) until you assign them to a new VLAN.
Caution Configuring VLANs Deleting a VLAN Command or Action Purpose Step 4 media { ethernet | fd-net | fddi | tokenring | trn-net } Example: Device(config-vlan)# media ethernet Configures the VLAN media type. Command options include: • ethernet—Sets the VLAN media type as Ethernet. • fd-net—Sets the VLAN media type as FDDI net. • fddi—Sets the VLAN media type as FDDI. • tokenring—Sets the VLAN media type as Token Ring. • trn-net—Sets the VLAN media type as Token Ring net. Step 5 end Example: Device(config)# end Returns to privileged EXEC mode. Step 6 end Example: Device(config)# end Returns to privileged EXEC mode. Step 7 show vlan {name vlan-name | id vlan-id} Example:
Device# show vlan name test20 or Device# show vlan id 20 Verifies your entries. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 29