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).
Enabling Basic QinQ-based Layer 2 Transparent Transmission on an Interface

Enabling Basic QinQ-based Layer 2 Transparent Transmission on an Interface


Perform the following operations on PEs based on the required Layer 2 protocol transparent transmission mode.


The l2protocol-tunnel vlan and l2protocol-tunnel commands cannot specify the same protocol type on the same interface. Otherwise, the configurations conflict.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The user-side interface view is displayed.

  3. Run port link-type dot1q-tunnel

    The link type of the interface is set to dot1q-tunnel.

  4. Run port default vlan vlan-id

    The Dot1q tunnel interface is enabled to add an outer VLAN tag to Layer 2 protocol packets from user networks.

  5. Run l2protocol-tunnel { all | protocol-type | user-defined-protocol protocol-name } vlan { low-id [ to high-id ] } &<1-10>

    Basic QinQ-based Layer 2 protocol transparent transmission is enabled on the interface.


    The outer VLAN tag specified in step 4 must be included in the VLAN range specified in step 5.

  6. (Optional) Run l2protocol-tunnel drop-threshold

    The drop threshold for Layer 2 protocol packets is configured.

    By default, the drop threshold is 0, meaning that interfaces enabled with Layer 2 protocol tunneling do not limit the volume of received Layer 2 protocol packets.

    Configuring a drop threshold for Layer 2 protocol packets protects interfaces enabled with Layer 2 protocol tunneling against protocol packet attacks. The interfaces drop excess Layer 2 PDUs when the number of Layer 2 protocol packets received in 1s exceeds the configured drop threshold.

  7. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 128821

Downloads: 297

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