1-50
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
interface vlan
interface vlan
To create a dynamic Switch Virtual Interface (SVI), use the interface vlan command in global
configuration mode.
interface vlan vlanid
no interface vlan vlanid
Syntax Description
Command Default None
Command Modes Global configuration
Command History
Usage Guidelines SVIs are created the first time that you enter the interface vlan vlanid command for a particular VLAN.
The vlanid value corresponds to the VLAN tag that is associated with the data frames on an Inter-Switch
Link (ISL), the 802.1Q-encapsulated trunk, or the VLAN ID that is configured for an access port. A
message displays whenever you create a new VLAN interface, so that you can check if you entered the
correct VLAN number.
If you delete an SVI by entering the no interface vlan vlanid command, the associated initial domain
part (IDP) pair is forced into an administrative down state and is marked as deleted. The deleted interface
will not be visible in the show interface command.
You can reinstate a deleted SVI by entering the interface vlan vlanid command for the deleted interface.
The interface comes back up, but much of the previous configuration is gone.
Examples The following example shows the output when you enter the interface vlan vlanid command for a new
VLAN number:
Router(config)# interface vlan 23
% Creating new VLAN interface.
vlanid Unique VLAN ID number (1 to 4094) used to create or access a VLAN.
Release Modification
15.1(2)SNG Support for this command was introduced on the Cisco ASR 901 router.