R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide

150
Ste
p
Command
Remarks
6. Configure the action of marking
the inner VLAN ID.
remark customer-vlan-id vlan-id N/A
7. Return to system view.
quit N/A
8. Create a QoS policy and enter
QoS policy view.
qos policy policy-name N/A
9. Associate the traffic class with
the traffic behavior defined
earlier.
classifier classifier-name behavior
behavior-name
N/A
10. Return to system view.
quit N/A
11. Enter Ethernet interface view or
port group view of the service
provider network-side port.
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
N/A
12. Apply the QoS policy to the
outgoing traffic.
qos apply policy policy-name outbound
N/A
Configuring the TPID in VLAN tags
TPID identifies a frame as an 802.1Q tagged frame. The TPID value varies with vendors. On an HP device,
the TPID in the 802.1Q tag added on a QinQ-enabled port is 0x8100 by default, in compliance with
IEEE 802.1Q. In a multi-vendor network, you must make sure the TPID setting is the same between directly
connected devices so 802.1Q tagged frames can be identified correctly.
TPID settings include CVLAN TPID and SVLAN TPID.
A QinQ-enabled port uses the CVLAN TPID to match incoming tagged frames. An incoming frame is
handled as an untagged frame if its TPID is different from the CVLAN TPID.
SVLAN TPIDs are configurable on a per-port basis. A service provider-side port uses the SVLAN TPID to
replace the TPID in outgoing frames' SVLAN tags and to match incoming tagged frames. An incoming
frame is handled as an untagged frame if the TPID in its outer VLAN tag is different from the SVLAN TPID.
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.
The TPID in a tagged Ethernet frame is in the same position as the EtherType field in an untagged Ethernet
frame. To ensure correct packet type identification, do not set the TPID value to any of the values listed
in Table 18.
Table 18 Reserved protocol type values
Protocol t
yp
e Value
ARP 0x0806
PUP 0x0200