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 an Eth-Trunk Sub-interface

Creating an Eth-Trunk Sub-interface

Sub-interfaces can be configured on a Layer 3 Eth-Trunk. When Layer 3 devices connect to Layer 2 devices in different VLANs through the Layer 3 Eth-Trunk, sub-interfaces must be configured on the Eth-Trunk to identify packets from different VLANs and to enable users in different VLANs to communicate with each other.


  1. Run:


    The system view is displayed.

  2. Run:

    interface eth-trunk trunk-id

    An Eth-Trunk is created and the Eth-Trunk interface view is displayed.

  3. Run:

    undo portswitch

    A Layer 3 Eth-Trunk is configured.

  4. Run:


    The system view is displayed.

  5. Run:

    interface eth-trunk trunk-id.subnumber

    An Eth-Trunk sub-interface is created.

    subnumber specifies the number of a sub-interface. The value ranges from 1 to 4096.

  6. Run:

    ip address ip-address { mask | mask-length } [ sub ]

    An IP address is configured for the sub-interface.

    When configuring multiple IP addresses for an Eth-Trunk sub-interface, use the sub keyword to indicate the IP addresses configured after the first one.

Updated: 2019-05-25

Document ID: EDOC1000097279

Views: 19765

Downloads: 64

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