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).
Configuring the TPID Value in an Outer VLAN Tag

Configuring the TPID Value in an Outer VLAN Tag

To enable interoperation between devices from different vendors, set the same TPID value in outer VLAN tags on the devices.


Devices from different vendors or in different network plans may use different TPID values in VLAN tags of VLAN packets. To adapt to an existing network plan, the device supports TPID value configuration. You can set the TPID value on the device to be the same as the TPID value in the network plan to ensure compatibility with the current network.

  • To implement interoperability with a non-Huawei device, ensure that the protocol type in the outer VLAN tag added by the industrial switch router can be identified by the non-Huawei device.
  • The qinq protocol command identifies incoming packets, and adds or changes the TPID value of outgoing packets.
  • The protocol ID configured on an interface by the qinq protocol command must be different from other commonly used protocol IDs; otherwise, the interface cannot distinguish packets of these protocols. For example, protocol-id cannot be set to 0x0806, which is the ARP protocol ID.


  1. Run:


    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    qinq protocol protocol-id

    The protocol type in the outer VLAN tag is set.

    By default, the TPID value in the outer VLAN tag is 0x8100.

Updated: 2019-05-25

Document ID: EDOC1000097279

Views: 20100

Downloads: 64

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