170
To do... Use the command... Remarks
9. Associate the traffic class with the
traffic behavior defined earlier
classifier classifier-name behavior
behavior-name
Required.
10. Return to system view
quit —
Enter Layer 2
Ethernet port
view
interface interface-type interface-
number
11. Enter the
Ethernet port
view of the
provider
network-side
port
Enter port group
view
port-group manual port-group-
name
Required.
Use either command.
• Settings made in Layer 2
Ethernet interface view
take effect only on the
current port.
• Settings made in port
group view take effect on
all ports in the port group.
12. Apply the QoS policy to the
outgoing traffic
qos apply policy policy-name
outbound
Required.
Configuring the TPID value in VLAN tags
Configuring the TPID value in the CVLAN tag
To configure the TPID value in the CVLAN tag:
To do... Use the command... Remarks
1. Enter system view
system-view —
2. Configure the TPID value in the
CVLAN tag
qinq ethernet-type customer-
tag hex-value
Optional
0x8100 by default
Configuring the TPID value in the SVLAN tag
To configure the TPID value in the SVLAN tag:
To do... Use the command... Remarks
1. Enter system view
system-view —
Enter Layer 2 Ethernet port
view or Layer 2
aggregate interface view
interface interface-type
interface-number
2. Enter
interface
view or
port
group
view
Enter port group view
port-group manual port-
group-name
Required.
Use either command.
3. Configure the TPID value in the
SVLAN tag
qinq ethernet-type service-
tag hex-value
Optional.
0x8100 by default.
On a port with basic QinQ and customer-side QinQ not enabled, the switch judges whether a frame is
VLAN tagged based on the SVLAN TPID value on the port; on a port with basic QinQ or customer-side
QinQ enabled, the switch judges whether a frame is VLAN tagged based on the CVLAN TPID value
globally configured.