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

Creating an Eth-Trunk Layer 3 Sub-interface


Layer 3 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, Layer 3 sub-interfaces must be configured on the Eth-Trunk to identify packets from different VLANs and to enable users in these 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

    Exit the Eth-Trunk interface view.

  5. Run interface eth-trunk trunk-id.subnumber

    An Eth-Trunk Layer 3 sub-interface is created, and the Layer 3 sub-interface view is displayed.

    subnumber specifies the number of the Layer 3 sub-interface. The value is in the range 1 to 4094.

  6. Run ip address ip-address { mask | mask-length } [ sub ]

    An IP address is configured for the Layer 3 sub-interface.

    When configuring multiple IP addresses for an Eth-Trunk Layer 3 sub-interface, use the sub keyword to indicate the second and subsequent IP addresses.

  7. Run dot1q termination vid vid

    The Eth-trunk Layer 3 sub-interface is configured to terminate single-tagged packets.

  8. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 125263

Downloads: 295

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