Operation Manual - VLAN
Quidway S3000-EI Series Ethernet Switches
Chapter 1 VLAN Configuration
Huawei Technologies Proprietary
1-2
Note that you will see error prompt when creating VLAN after VLAN feature is disabled.
1.2.2 Create/Delete a VLAN
You can use the following command to create/delete a VLAN.
Perform the following configurations in system view.
Table 1-2
Create/Delete a VLAN
Operation
Command
Create a VLAN and enter the VLAN view
vlan vlan
_
id
Delete the specified VLAN
undo vlan
{
vlan
_
id
[
to vlan
_
id
]
| all
}
If the VLAN to be created exists, enter the VLAN view directly. Otherwise, create the
VLAN first, and then enter the VLAN view.
vlan_id
specifies the VLAN ID. Note that the default VLAN, namely VLAN 1, cannot be
deleted.
1.2.3 Add Ethernet Ports to a VLAN
You can use the following command to add the Ethernet ports to a VLAN.
Perform the following configuration in VLAN view.
Table 1-3
Add Ethernet ports to a VLAN
Operation
Command
Add Ethernet ports to a VLAN
port interface_list
Remove Ethernet ports from a VLAN
undo port interface_list
By default, the system adds all the ports to a default VLAN, whose ID is 1.
Note that you can add/delete trunk port and hybrid port to/from VLAN by
port
and
undo
port
commands in Ethernet port view, but not in VLAN view.
1.2.4 Set/Delete VLAN Description Character String
You can use the following command to set/delete VLAN description character string.
Perform the following configuration in VLAN view.