Layer 2 Switching Commands 824vlanUse the vlan command in Global Configuration mode to configure a VLAN.To delete a VLAN, use the no form of this command.Syntaxvlan {vlan–list}no vlan {vlan–list}• vlan–list—A list of one or more valid VLAN IDs. List separate, non-consecutive VLAN IDs separated by commas (without spaces). Use ahyphen to designate a range of IDs. (Range: 1–4093)Default ConfigurationThis command has no default configuration.Command ModeGlobal Configuration (Config)User GuidelinesDeleting the VLAN assigned as the PVID on an access port will cause VLAN 1to be assigned as the PVID for the access port. Deleting the VLAN assigned asthe native VLAN for a trunk port will cause the trunk port to discarduntagged frames received on the port. Creating a VLAN adds it to the allowedlist for all trunk ports except those where it is specifically excluded. Ports andport channels can be configured with VLANs that do not exist. They will notforward traffic on nonexisting VLANs.ExampleThe following example shows how to create (add) VLAN IDs 22, 23, and 56.console(config)#vlan 22,23,56console(config-vlan)#