Operation Manual - VLAN
Quidway S3500 Series Ethernet Switches Chapter 1 VLAN Configuration
Huawei Technologies Proprietary
1-2
Table 1-1 Enable/Disable VLAN feature
Operation Command
Enable/Disable VLAN feature
vlan { enable | disable }
By default, VLAN feature is enabled on the switch.
Note that you will see error prompt when creating VLAN after VLAN feature is disabled.
S3526E/S3526C switches support the configuration in S3500 series switches.
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.