interface vlan-interface
Syntax
interface vlan-interface vlan-interface-id
undo interface vlan-interface vlan-interface-id
View
System view
Default level
2: System level
Parameters
vlan-interface-id: Specifies a VLAN interface number, in the range of 1 to 4094.
Description
Use interface vlan-interface to create a VLAN interface and enter its view or enter the view of an existing VLAN interface.
Use undo interface vlan-interface to remove the specified VLAN interface.
Create the VLAN before you create the VLAN interface.
To configure an IP address for a VLAN interface that will perform IP routing, use the ip address command in VLAN interface view.
Related commands: display interface vlan-interface.
Examples
# Create VLAN-interface 2.
<Sysname> system-view [Sysname] vlan 2 [Sysname-vlan2] quit [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2]