R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
144
Ste
p
Command
Remarks
16. Configure the behavior to
count QinQ packets.
accounting
Optional.
This action counts the number of
double-tagged QinQ packets, and
helps you understand the traffic
volume changes of the specific
packets and adjust the network
transmission policy accordingly.
17. Return to system view.
quit N/A
18. Create a QoS policy and
enter QoS policy view.
qos policy policy-name N/A
19. Associate the class with the
traffic behavior.
classifier classifier-name behavior
behavior-name
N/A
20. Return to system view.
quit N/A
21. Enter Ethernet interface view
or port group view of the
customer-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
22. Enable basic QinQ.
qinq enable N/A
23. Apply the QoS policy to the
incoming traffic.
qos apply policy policy-name
inbound
N/A
Configuring an inner-outer VLAN 802.1p priority mapping
The HSR6800 series routers can set the 802.1p priority in the SVLAN tag according to the inner 802.1p
priority or the CVLAN tag.
To configure an inner-outer VLAN 802.1p priority mapping:
Ste
p
Command
Remarks
24. Enter system view.
system-view N/A
25. Create a class and enter class
view.
traffic classifier classifier-name [ operator
{ and | or } ]
By default, the operator
of a class is AND.
26. Configure a match criterion.
• Match a specified inner VLAN ID:
if-match customer-vlan-id vlan-id-list
• Match a specified inner VLAN tag
priority:
if-match customer-dot1p 8021p-list
Use one of the
commands.
27. Return to system view.
quit N/A
28. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name N/A