2-94
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
interface vlan
interface vlan
To create or access a switch virtual interface (SVI) and to enter interface configuration mode, use the
interface vlan command in global configuration mode. To delete an SVI, use the no form of this
command.
interface vlan vlan-id
no interface vlan vlan-id
Syntax Description
Defaults The default VLAN interface is VLAN 1.
Command Modes Global configuration
Command History
Usage Guidelines SVIs are created the first time that you enter the interface vlan vlan-id command for a particular vlan.
The vlan-id corresponds to the VLAN-tag associated with data frames on an IEEE 802.1Q encapsulated
trunk or the VLAN ID configured for an access port.
Note When you create an SVI, it does not become active until it is associated with a physical port.
If you delete an SVI by entering the no interface vlan vlan-id command, the deleted interface is no
longer visible in the output from the show interfaces privileged EXEC command.
Note You cannot delete the VLAN 1 interface.
You can reinstate a deleted SVI by entering the interface vlan vlan-id command for the deleted
interface. The interface comes back up, but much of the previous configuration will be gone.
You can verify your setting by entering the show interfaces and show interfaces vlan vlan-id privileged
EXEC commands.
Examples This example shows how to create VLAN ID 23 and enter interface configuration mode:
Switch(config)# interface vlan 23
Switch(config-if)#
vlan-id VLAN number. The range is 1 to 4094.
Release Modification
12.2(52)EY This command was introduced.