VLAN Commands | 129interface vlanThis command creates a new VLAN if the identified VLAN ID does not already exist, or else thecommand selects the existing VLAN. Then, in either case, the command invokes the Interface VLANmode, in which you have access to VLAN configuration commands for the specified VLAN.Syntax interface vlan vlanidThe vlanid is a valid VLAN identification number (ID 1 is reserved for the default VLAN). VLANrange is 2-3965.The no version of this command deletes an existing VLAN.Default NoneMode Global ConfigCommandHistoryUsageInformationAfter using this command to access the Interface VLAN mode (the prompt for the Interface VLANmode is (conf-if-vl-)#), you can configure the selected VLAN.You can also make configuration changes to a VLAN in the Interface Range mode (see interface rangeon page 91) and the Global Config mode. For details on modes, see Chapter 4, “Using the CommandLine Interface,” on page 23.Example Figure 7-41. Command Options in the Interface VLAN ModeRelatedCommandsVersion 2.3 Introduced. Replaces vlan database and vlan commands.Force10 #configForce10 (Config)#interface vlan 5Force10 (Conf-if-vl-5)#?description Add Description to the interfaceencapsulation Configure interface link layer encapsulation type.exit To exit from the mode.help Display help for various special keys.igmp Configure IGMP Snooping parameters for the Vlanip Configure IP parameters.mtu Sets the default MTU size.protocol Configure the Protocols associated with particularGroup Ids.makestatic Change the VLAN type from 'Dynamic' to 'Static'.name Configure an optional VLAN Name.pvid Configure the VLAN id for a specific port.tagged Configure tagging for a specific VLAN port.untagged Configure untagging for a specific VLAN port.Force10 (Conf-if-vl-5)#exitForce10 (Config)#exitForce10 #show vlan briefVLAN ID VLAN Name MAC Aging IP Address------- -------------------------------- ------------- --------------------1 Default 300 unassigned5 300 unassignedForce10#dot1p-priority Configures the 802.1p port priority assigned for untagged packets for a specificinterface.interface Accesses the Interface Config mode for a designated logical or physical interface.