qinq ethernet-type (system view)

Use qinq ethernet-type to set the TPID value in CVLAN tags.

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

Syntax

qinq ethernet-type customer-tag hex-value

undo qinq ethernet-type customer-tag

Default

The TPID value in CVLAN tags is 8100 in hexadecimal notation.

Views

System view

Predefined user roles

network-admin

Parameters

customer-tag: Sets the TPID value in the CVLAN tag.

hex-value: Sets a hexadecimal TPID value in the range of 1 to ffff, excluding the reserved EtherType values listed in Table 55.

Table 55: 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

LLDP

0x88cc

802.1X

0x888e

802.1ag

0x8902

Cluster

0x88a7

Reserved

0xfffd/0xfffe/0xffff

Usage guidelines

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

Examples

# Set the TPID value in CVLAN tags to 8200 (hexadecimal).

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

Related commands

qinq ethernet-type (interface view)