R3303-HP HSR6800 Routers ACL and QoS Configuration Guide
92
Configuring priority marking
Priority marking sets the priority fields or flag bits of packets to modify the priority of traffic. For example,
you can use priority marking to set IP precedence or DSCP for a class of IP traffic to change its
transmission priority in the network.
To configure priority marking, you can associate a class with a behavior configured with the priority
marking action to set the priority fields or flag bits of the class of packets.
Configuration procedure
To configure priority marking:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a class and enter class
view.
traffic classifier classifier-name [ operator { and |
or } ]
N/A
3. Configure match criteria.
if-match [ not ] match-criteria N/A
4. Return to system view.
quit N/A
5. Create a behavior and enter
behavior view.
traffic behavior behavior-name N/A
6. Set the DSCP value for packets.
remark dscp dscp-value Optional.
7. Set the 802.1p priority for
packets or configure the
inner-to-outer tag priority
copying function.
remark dot1p 8021p Optional.
8. Set the IP precedence for
packets.
remark ip-precedence ip-precedence-value Optional.
9. Set the local precedence for
packets.
remark local-precedence local-precedence Optional.
10. Set the QoS-local ID for
packets.
remark qos-local-id local-id-value Optional.
11. Return to system view.
quit N/A
12. Create a policy and enter
policy view.
qos policy policy-name N/A
13. Associate the class with the
traffic behavior in the QoS
policy.
classifier classifier-name behavior behavior-name N/A
14. Return to system view.
quit N/A
15. Apply the QoS policy.
• Applying the QoS policy to an interface or PVC
• Applying the QoS policy to a VLAN
• Applying the QoS policy to online users
Choose one of
the application
destinations as
needed.