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 - Interface Management

CloudEngine 12800 and 12800E V200R003C00

This document describes the interface management configuration, including basic interface configuration, Ethernet interface configuration, and logical interface configuration.

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

Configuring 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-05

Document ID: EDOC1100004195

Views: 18631

Downloads: 37

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next