Command Manual – VLAN&QinQ
Quidway S8500 Series Routing Switches Chapter 1
VLAN Configuration Commands
Huawei Technologies Proprietary
1-8
Parameter
vlan-id-list: vlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, specifies the range of VLANs
to be created. The value range of vlan-id is 1 to 4094. &<1-10> means that the
preceding parameter can be repeated up to 10 times.
all: Deletes all VLANs.
Description
Use the vlan vlan-id-list command to enter VLAN view or to create a range of VLANs.
Use the undo vlan command to delete the specified VLAN.
If only one VLAN is created, the system will automatically enter the view of the VLAN
just created.
Related command: display vlan.
Example
# Create VLANs 5, 20, 21, 22, 23, 24, 400, 1002, 1003, 1004, and 2000.
<Quidway> system-view
[Quidway] vlan 5 20 to 24 400 1002 to 1004 2000
Caution:
z VLAN 1 is the system-default VLAN and cannot be removed.
z VLANs with their ports being VLAN VPN-enabled cannot be removed.
z A Guest VLAN cannot be deleted.
z A protocol-enabled VLAN cannot be deleted.
1.2 Port-Based VLAN Configuration Commands
1.2.1 port
Syntax
port interface-list
undo port interface-list
View
VLAN view