qinq ethernet-type customer-tag

Use qinq ethernet-type customer-tag to configure the CVLAN TPID.

Use undo qinq ethernet-type customer-tag to restore the default CVLAN TPID.

Syntax

qinq ethernet-type customer-tag hex-value

undo qinq ethernet-type customer-tag

Default

The CVLAN TPID is 0x8100.

Views

System view

Predefined user roles

network-admin

Parameters

hex-value: Sets a hexadecimal TPID value in the range of 0x0001 to 0xFFFF, excluding the reserved EtherType values listed in Table 57.

Table 57: Reserved EtherType 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

LLDP

0x88CC

802.1ag

0x8902

Cluster

0x88A7

Reserved

0xFFFD/0xFFFE/0xFFFF

Usage guidelines

A QinQ-enabled port uses the CLAN TPID to match incoming tagged frames. An incoming frame is handled as an untagged frame if its TPID is different from the CVLAN TPID.

Examples

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

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