interface vlan

Syntax

interface vlan <VLAN-ID>

no interface vlan <VLAN-ID>

Description

Creates an interface VLAN also know as an SVI (switched virtual interface) and changes to the config-if-vlan context. The specified VLAN must already be defined on the switch.

The no form of this command deletes an interface VLAN.

Command context

config

Parameters

<VLAN-ID>

Specifies the loopback interface ID. Range: 2 to 4094

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch# config
switch(config)# vlan 10
switch(config-vlan-10)# exit
switch(config)# interface vlan 10
switch(config-if-vlan)#