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.


AR500, AR510, and AR530 V200R007 CLI-based Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring transparent bridge, MAC table, link aggregation, VLANs, STP/RSTP/MSTP, and so on.The document provides the configuration procedures and configuration examples to illustrate the service configuration methods and application scenario.
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).
Creating a Sub-VLAN

Creating a Sub-VLAN


In VLAN aggregation, physical interfaces can be added to a sub-VLAN but no VLANIF interface can be created for the sub-VLAN. All the interfaces in a sub-VLAN use the same IP address of the VLANIF interface corresponding to a super-VLAN. VLAN aggregation reduces subnet IDs, subnet default gateway addresses, and directed broadcast IP addresses, allows the device to assign IP addresses to hosts in sub-VLANs according to the actual number of hosts, ensures that each sub-VLAN is used as independent broadcast domain to implement isolation, saves IP addresses, and implements flexible addressing.


  1. Run:


    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    port link-type access

    The link type of the interface is set to access.

  4. Run:


    Return to the system view.

  5. Run:

    vlan vlan-id

    A sub-VLAN is created and its view is displayed.

  6. Run:

    port interface-type { interface-number1 [ to interface-number2 ] } &<1-10>

    An interface is added to the sub-VLAN.

Updated: 2019-05-25

Document ID: EDOC1000097279

Views: 20679

Downloads: 64

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