R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

145
Ste
p
Command
Remarks
29. Configure a behavior to set the
802.1p priority in the SVLAN
tags.
remark dot1p 8021p N/A
30. Return to system view.
quit N/A
31. Create a QoS policy and
enter QoS policy view.
qos policy policy-name N/A
32. Associate the traffic class with
the traffic behavior defined
earlier.
classifier classifier-name behavior
behavior-name
N/A
33. Return to system view.
quit N/A
34. Enter Ethernet interface view
or port group view of the
customer 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.
35. Enable basic QinQ.
qinq enable N/A
36. Apply the QoS policy to the
incoming traffic.
qos apply policy policy-name inbound N/A
Configuring inner VLAN ID substitution
You cannot modify the inner VLAN ID on the customer-side port. To modify an inner VLAN ID, you must
apply a QoS policy to the outbound direction of the service provider-side port.
To configure inner VLAN ID substitution:
Ste
p
Command
Remarks
37. Enter system view.
system-view N/A
38. Create a class and enter class
view.
traffic classifier classifier-name
[ operator { and | or } ]
By default, the operator of a
class is AND.
39. Configure a match criterion to
match the specified inner VLAN
IDs.
if-match customer-vlan-id vlan-id-list N/A
40. Return to system view.
quit N/A
41. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name N/A
42. Configure the action of marking
the inner VLAN ID.
remark customer-vlan-id vlan-id N/A
43. Return to system view.
quit N/A
44. Create a QoS policy and enter
QoS policy view.
qos policy policy-name N/A