The qinq protocol command sets the TPID value in the outer VLAN tag of an interface.
The undo qinq protocol command restores the default TPID value in the outer VLAN tag.
By default, the TPID value in the outer VLAN tag is 0x8100.
Parameter |
Description |
Value |
---|---|---|
protocol-id |
Specifies the TPID value in the outer VLAN tag. |
The value is a 4-digit hexadecimal integer that ranges from 0x0600 to 0xFFFF. The default TPID value is 0x8100. |
Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view, 25GE interface view, port group view
Usage Scenario
To enable devices from different vendors to interoperate, set the same TPID value in outer VLAN tags on the devices. Devices from different vendors or in different network plans may use different Tag Protocol Identifier (TPID) values in VLAN tags of VLAN packets. The switch supports configuration of the TPID value in outer VLAN tags so that it can interoperate with devices from different vendors or operate seamlessly on an existing network.
Precautions
When the device is upgraded from an earlier version of V200R010 to V200R010 or later and the qinq protocol command is configured on Eth-Trunk member interfaces, the following situations may occur:
If the same qinq protocol command has been configured on all Eth-Trunk member interfaces, the qinq protocol command configuration takes effect on the Eth-Trunk after the upgrade.
If different qinq protocol commands are configured on Eth-Trunk member interfaces, the qinq protocol command configuration takes effect on the Eth-Trunk member interfaces after the upgrade and there is the configuration on the Eth-Trunk member interfaces. To configure the qinq protocol command in the Eth-Trunk interface view, first manually run the undo qinq protocol command on Eth-Trunk member interfaces to delete the configuration. In this situation, automatic completion of the undo qinq protocol command is not supported. You must manually enter the undo qinq protocol command.
The device directly connected to an interface must be able to identify the TPID value in the outer VLAN tag on the interface.
The qinq protocol command identifies incoming frames, and adds or changes the TPID value of outgoing frames.
Protocol Type |
Value |
---|---|
ARP |
0x0806 |
RARP |
0x8035 |
IP |
0x0800 |
IPv6 |
0x86DD |
PPPoE |
0x8863/0x8864 |
MPLS |
0x8847/0x8848 |
IPX/SPX |
0x8137 |
LACP |
0x8809 |
802.1x |
0x888E |
HGMP |
0x88A7 |
Reserved |
0xFFFD/0xFFFE/0xFFFF |