Command Manual - VLAN
Quidway S3500 Series Ethernet Switches Chapter 1 VLAN Configuration Commands
Huawei Technologies Proprietary
1-7
1.1.9 vlan
Syntax
vlan vlan_id
undo vlan { vlan_id [ to vlan_id ] | all }
View
System view
Parameter
vlan_id: Specifies the ID of a VLAN to be created and/or entered, ranging from 1 to
4094.
all: Delete all VLANs.
Description
Using vlan command, you can enter VLAN view. If the specified VLAN is not created,
create it first. Using undo vlan command, you can cancel the specified VLAN.
VLAN 1 is default VLAN and cannot be deleted.
For the related commands, see display vlan.
Example
# Enter the view of VLAN 1.
[Quidway] vlan 1
1.1.10 vlan { enable | disable }
Syntax
vlan { enable | disable }
View
System view
Parameter
enable: Enable VLAN features of equipment.
disable: Disable the VLAN features of equipment.
Description
Using vlan { enable | disable } command, you can enable/disable the VLAN features
of equipment.