beautypg.com

Configuring the tpid for vlan tags, Configuring the cvlan tpid, Configuring the svlan tpid – H3C Technologies H3C S12500-X Series Switches User Manual

Page 143: Configuring port role restriction

background image

132

Configuring the TPID for VLAN tags

TPID identifies a frame as an 802.1Q tagged frame. On the device, the TPID in the 802.1Q tag added
on a QinQ-enabled port is 0x8100 by default, in compliance with IEEE 802.1Q. However, the TPID value

varies with vendors. In a multi-vendor network, you must make sure the TPID setting is the same across all

devices so 802.1Q tagged frames can be identified correctly.
TPID settings include CVLAN TPID and SVLAN TPID.
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. The device supports one

CVLAN TPID for all QinQ-enabled ports.
A service provider-side port uses the SVLAN TPID to replace the TPID in outgoing frames' SVLAN tags, in
addition to matching incoming tagged frames. SVLAN TPIDs are configurable on a per-port basis.
For example, the PE device is connected to a customer device that uses the TPID 0x8200 and to a

provider device that uses the TPID 0x9100. To be compatible with these devices, you must configure

0x8200 and 0x9100 as the CVLAN TPID and SVLAN TPID, respectively, so the devices can correctly
identify tagged frames.

Configuring the CVLAN TPID

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the TPID value for
CVLAN tags.

qinq ethernet-type customer-tag
hex-value

The default setting is 0x8100 for
CVLAN tags.

Configuring the SVLAN TPID

Configure the SVLAN TPID on service provider-side ports.
On a QinQ-enabled port, you cannot configure the SVLAN TPID.
EVB and SVLAN TPID configuration are mutually exclusive. Do not configure both of the features on a

port.
To configure the SVLAN TPID on a service provider-side port:

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2 Ethernet
interface view or Layer 2

aggregate interface view.

interface interface-type
interface-number

N/A

3.

Configure the SVLAN TPID.

qinq ethernet-type service-tag
hex-value

The default setting is 0x8100 for
SVLAN tags.

This manual is related to the following products: