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

Reminder

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

upgrade

Configuration Guide - Ethernet Switching

S7700 and S9700 V200R011C10

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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

Context

In VLAN aggregation, physical interfaces can be added to a sub-VLAN but a VLANIF interface cannot be created for the sub-VLAN. All the interfaces in a sub-VLAN use the same IP address of the VLANIF interface associated with the super-VLAN. VLAN aggregation reduces subnet IDs, subnet default gateway addresses, and directed broadcast IP addresses, and allows the switch to assign IP addresses to hosts in sub-VLANs according to the number of hosts.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vlan vlan-id

    A VLAN is created and the VLAN view is displayed.

    NOTE:

    If a device is configured with multiple VLANs, configuring names for these VLANs is recommended:

    Run the name vlan-name command in the VLAN view. After a VLAN name is configured, you can run the vlan vlan-name vlan-name command in the system view to enter the corresponding VLAN view.

    The vlan configuration command completes the VLAN configuration when the VLAN is not created.

  3. Run interface interface-type interface-number

    The interface view is displayed.

  4. Configure the link type of the interface.

    Run either of the following commands as needed:

    • Set the link type of the interface to Access.

      1. Run port link-type access

        The link type of the interface is set to Access.

      2. Run port default vlan vlan-id

        The interface is added to the sub-VLAN.

    • Set the link type of the interface to Trunk.

      1. Run port link-type trunk

        The link type of the interface is set to Trunk.

      2. Run port trunk allow-pass vlan vlan-id

        The interface is added to the sub-VLAN.

    • Set the link type of the interface to Hybrid.

      1. Run port link-type hybrid

        The link type of the interface is set to Hybrid.

      2. Run port hybrid tagged vlan vlan-id or port hybrid untagged vlan vlan-id

        The interface is added to the sub-VLAN.

  5. Run quit

    Return to the system view.

Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178310

Views: 287818

Downloads: 141

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