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).
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 system-view

    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 quit

    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-04-12

Document ID: EDOC1100041791

Views: 57963

Downloads: 40

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