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.


Configuration Guide - Ethernet Switching

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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, a sub-VLAN can contain only physical interfaces (it cannot contain VLANIF interfaces). All the interfaces in a sub-VLAN use the same IP address of the VLANIF interface associated with the super-VLAN. VLAN aggregation reduces the number of subnet IDs, subnet default gateway addresses, and directed broadcast IP addresses needed on the network segment and ensures that IP addresses are assigned efficiently. VLAN aggregation allows each sub-VLAN to function as a broadcast domain to implement broadcast isolation and saves IP address resources.


  1. Run system-view

    The system view is displayed.

  2. (Optional) Configure the link type of the interface as access.

    1. Run interface interface-type interface-number

      The interface view is displayed.

    2. Run port link-type access

      The link type of the interface is set to access.

    3. Run quit

      Return to the system view.

  3. Run vlan vlan-id

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


    If a device is configured with multiple VLANs, it is recommended that you configure a name for each VLAN.

    To do so, run the name vlan-name command in the VLAN view. After a VLAN name is configured, run the vlan vlan-name vlan-name command in the system view to enter the corresponding VLAN view.

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

    A port is added to the sub-VLAN.

  5. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 125882

Downloads: 295

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