No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


How to create VLANs in a batch

Publication Date:  2016-11-21 Views:  4037 Downloads:  0

Issue Description

How to create VLANs in a batch


"Run the vlan batch command in the system view to create VLANs in a batch.

Create 10 contiguous VLANs: VLAN 11 to VLAN 20.
<HUAWEI> system-view
[HUAWEI] vlan batch 11 to 20
Create 10 discontiguous VLANs in a batch: VLAN 10, VLAN 15 to VLAN 19, VLAN 25, VLAN 28 to VLAN 30.
<HUAWEI> system-view
[HUAWEI] vlan batch 10 15 to 19 25 28 to 30
You can create a maximum of 10 discontiguous VLANs or VLAN range at one time. If there are more than 10 VLANs, run this command multiple times. For example, the vlan batch 10 15 to 19 25 28 to 30 command creates four discontiguous VLAN ranges."