interface vlan

Syntax

interface vlanno interface vlan

Description

Creates an interface VLAN also know as an SVI (switched virtual interface) and changes to theconfig-if-vlan上下文。指定的VLAN必须已经定义d on the switch.

Thenoform of this command deletes an interface VLAN.

Command context

config

Parameters

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 10switch(config-vlan-10)#exitswitch(config)#interface vlan 10switch(config-if-vlan)#