Configure the Protocol Type of the Outer VLAN Tag of a Port
A port determines whether a packet carries the corresponding VLAN tag based on the Tag Protocol Identifier (TPID). After a port receives a packet, it compares the TPID that is configured on the port with the corresponding field in the packet. If they are the same, it indicates that the packet carries the corresponding VLAN tag. If they are different, the device regards and handles the received packet as an Untag packet.
Devices of some manufacturers may set the TPID field of outer VLAN tags of QinQ packets to 0x9100 or other values. To be compatible with the devices, the TPID value of the outer VLAN tags of the local device port must be configured to the same value.
Configuration Condition
None
Configure the Protocol Type of the Outer VLAN Tag of a Port
A device supports two TPID values. The value range of TPIDs is 0x0001-0xffff, and it cannot be the reserved protocol field such as 0x0806 and 0x0800.
Table 4-6 Configuring the Protocol Type of the Outer VLAN Tag of a Port
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the L2 Ethernet interface configuration mode.
|
interface interface-name
|
Either
After you enter the L2 Ethernet interface configuration mode, the subsequent configuration takes effect only on the current port. After you enter the aggregation group configuration mode, the subsequent configuration takes effect only within the aggregation group.
|
Enter the aggregation group configuration mode.
|
link-aggregation link-aggregation-id
|
Configure the protocol type of the outer VLAN tag of a port. |
frame-tag tpid type-value |
Optional.
By default, the protocol type value of outer VLAN tags of a port is 0x8100.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
On one port, configure the protocol type of the port outer VLAN tag as the non-default value, which cannot coexist with the following functions: QinQ Evc, basic Qin Q, flexible QINQ, 1:1 VLAN mapping, N:1 VLAN mapping.