qinq ethernet-type

Syntax

qinq ethernet-type hex-value

undo qinq ethernet-type

View

System view

Default level

2: System level

Parameters

hex-value: Specifies a hexadecimal tag protocol identifier (TPID) value, ranging from 0x0001 to 0xFFFF. However, do not set it to any of the protocol type values listed in Table 42.

Table 42: Common protocol type values

Protocol type

Value

ARP

0x0806

PUP

0x0200

RARP

0x8035

IP

0x0800

IPv6

0x86DD

PPPoE

0x8863/0x8864

MPLS

0x8847/0x8848

IPX/SPX

0x8137

IS-IS

0x8000

LACP

0x8809

802.1X

0x888E

Cluster

0x88A7

Reserved

0xFFFD/0xFFFE/0xFFFF

Description

Use qinq ethernet-type to configure the TPID value in VLAN tags.

Use undo qinq ethernet-type to restore the TPID value in VLAN tags to the system default.

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

Examples

# Set the TPID value in the VLAN tags to 0x8200.

<Sysname> system-view
[Sysname] qinq ethernet-type 8200