1-5
Table 1-2 display vlan command output description
Field Description
VLAN Type VLAN type (static or dynamic)
Route interface
Whether a VLAN interface is configured for the VLAN: not configured
or configured
Description Description of the VLAN
Name Name configured for the VLAN
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