634
C
39: VLAN C
HAPTER
interface vlan-interface
Syntax
View
Parameter
Description
Related command:
Example
C
ONFIGURATION
OMMANDS
Description: VLAN 0003
Tagged
Ports: none
Untagged Ports: none
Table 112 Description on the fields of the display vlan command
Field
VLAN ID
VLAN Type
Route interface
Description
Broadcast MAX-ratio
IP Address
Subnet Mask
Tagged Ports
Untagged Ports
interface vlan-interface vlan-interface-id
undo interface vlan-interface vlan-interface-id
System view
vlan-interface-id: VLAN interface ID, in the range of 1 to 4,094.
Use the
interface vlan-interface
interface view. Use the undo interface vlan-interface command to delete the
specified VLAN interface. The VLAN interface must be created first before entering
its view
Before creating a VLAN interface, make sure the corresponding VLAN has been
created; otherwise, the VLAN interface cannot be created.
display interface vlan-interface.
# Create VLAN interface 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] quit
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2]
Description
VLAN ID
VLAN type (static or dynamic)
Whether the VLAN interface is configured for the VLAN: not
configured or configured
VLAN descriptive string
VLAN broadcast suppression ratio (available only on the device
supporting the broadcast-suppression command)
IP address of the VLAN interface (not display if the VLAN interface
has no IP address configured)
Subnet mask of the IP address (not display if the VLAN interface
has no IP address configured)
Tagged ports
Untagged ports
command to enter the specified VLAN