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.


CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How to Create and Delete VLANs in a Batch

How to Create and Delete VLANs in a Batch

  • Run the vlan batch command in the system view to create VLANs in a batch.
    • Create 10 contiguous VLANs: VLANs 11 to 20.
      <Huawei> system-view
      [Huawei] vlan batch 11 to 20
    • Create 10 incontiguous VLANs in a batch: VLAN 10, VLANs 15 to 19, VLAN 25, VLANs 28 to 30.
      <Huawei> system-view
      [Huawei] vlan batch 10 15 to 19 25 28 to 30

    You can create a maximum of 10 incontiguous 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 incontiguous VLAN ranges.

  • Run the undo vlan batch command in the system view to delete VLANs in a batch.
    • Delete VLANs 10 to 20.
      <Huawei> system-view
      [Huawei] undo vlan batch 10 to 20
Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 63972

Downloads: 41

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next