Configuring The Tpid Value In Vlan Tags - H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

To configure inner VLAN ID substitution:
Step
1.
Enter system view.
2.
Create a class and enter class view.
3.
Configure a match criterion to match
the specified inner VLAN IDs.
4.
Configure a match criterion to match
the specified outer VLAN IDs.
5.
Return to system view.
6.
Create a traffic behavior and enter
traffic behavior view.
7.
Configure the action of marking the
inner VLAN IDs.
8.
Return to system view.
9.
Create a QoS policy and enter QoS
policy view.
10.
Associate the traffic class with the
traffic behavior defined earlier.
11.
Return to system view.
12.
Enter Ethernet interface view or port
group view of the service provider
network-side port.
13.
Apply the QoS policy to the
outgoing traffic.

Configuring the TPID value in VLAN tags

Tag Protocol Identifier (TPID) identifies a frame as an 802.1Q tagged frame. According to 802.1Q, the
TPID of tagged frames is 0x8100. This value varies with vendors. On the device, the TPID in the 802.1Q
tag added on a basic QinQ-enabled port is always 0x8100. In a multi-vendor network, you must set the
TPID setting on one vendor's device to be compatible with another vendor's device.
TPID settings include CVLAN TPID and SVLAN TPID.
A basic QinQ or customer-side 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. For more information about
customer-side QinQ, see
A service provider-side port uses the SVLAN TPID to re-mark 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
Command
system-view
traffic classifier classifier-name [ operator
and ]
if-match customer-vlan-id vlan-id-list
if-match service-vlan-id vlan-id
quit
traffic behavior behavior-name
remark customer-vlan-id vlan-id
quit
qos policy policy-name
classifier classifier-name behavior
behavior-name
quit
Enter Ethernet interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual port-group-name
qos apply policy policy-name outbound
"Configuring VLAN
mapping."
189
Remarks
N/A
By default, the
operator of a class is
AND.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Use either command.
N/A

Advertisement

Table of Contents
loading

Table of Contents