13-6
Field Description
IP Address
Primary IP address of the VLAN interface (available only on a VLAN interface
configured with an IP address). You can use the
display interface
vlan-interface
command in any view or the
display this
command in VLAN
interface view to display its secondary IP address(es), if any.
Subnet Mask
Subnet mask of the primary IP address (available only on a VLAN interface
configured with an IP address)
Tagged Ports Ports through which packets of the VLAN are sent tagged
Untagged Ports Ports through which packets of the VLAN are sent untagged
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: VLAN interface number, in the range of 1 to 4094.
Description
Use the interface vlan-interface command to create a VLAN interface and enter its view or enter the
view of an existing VLAN interface.
Before you can create the VLAN interface of a VLAN, create the VLAN first.
Use the undo interface vlan-interface command to remove the specified VLAN interface.
You can use the ip address command in VLAN interface view to configure an IP address for a VLAN
interface to perform IP routing.
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]