2-125
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
interface vlan
interface vlan
Use the
interface vlan
global configuration command to create or access a dynamic switch virtual
interface (SVI) and to enter interface configuration mode. Use the
no
form of this command to delete an
SVI.
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
You cannot delete the VLAN 1 interface.
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 ISL or 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.
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.
The interrelationship between the number of SVIs configured on a switch and the number of other
features being configured might have an impact on CPU utilization due to hardware limitations. You can
use the
sdm prefer
global configuration command to reallocate system hardware resources based on
templates and feature tables. For more information, see the
Examples
This example shows how to create a new SVI with VLAN ID 23 and enter interface configuration mode:
Switch(config)#
interface vlan 23
Switch(config-if)#
You can verify your setting by entering the
and
show interfaces vlan
vlan-id
privileged
EXEC commands.
vlan-id
VLAN number. The range is 1 to 4094.
Release
Modification
12.1(14)AX
This command was introduced.