2
Protocols and standards
IEEE 802.1Q,
IEEE Standard for Local and Metropolitan Area Networks: Virtual Bridged Local Area
Networks
Configuring a VLAN
Restrictions and guidelines
•
As the system default VLAN, VLAN 1 cannot be created or deleted.
•
Before you delete a dynamic VLAN or a VLAN locked by an application, you must first remove
the configuration from the VLAN.
Creating VLANs
1.
Enter system view.
system-view
2.
Create one or multiple VLANs.
Create a VLAN and enter its view.
vlan
vlan-id
Create multiple VLANs and enter VLAN view.
Create VLANs.
vlan
{
vlan-id-list
|
all
}
Enter VLAN view.
vlan
vlan-id
By default, only the system default VLAN (VLAN 1) exists.
3.
(Optional.) Set a name for the VLAN.
name text
By default, the name of a VLAN is
VLAN
vlan-id.
The
vlan-id
argument specifies the VLAN ID in
a four-digit format. If the VLAN ID has fewer than four digits, leading zeros are added. For
example, the name of VLAN 100 is
VLAN 0100
.
4.
(Optional.) Configure the description for the VLAN.
description text
By default, the description of a VLAN is
VLAN
vlan-id.
The
vlan-id
argument specifies the VLAN
ID in a four-digit format. If the VLAN ID has fewer than four digits, leading zeros are added. For
example, the default description of VLAN 100 is
VLAN 0100
.
Display and maintenance commands for VLANs
Execute
display
commands in any view and
reset
commands in user view.
Task
Command
Display VLAN information.
display
vlan
[
vlan-id1
[
to
vlan-id2
]
|
all
|
dynamic
|
reserved
|
static
]
Display brief VLAN information.
display
vlan brief
Summary of Contents for UniServer BX608FE
Page 11: ...3...