HP MSR2000/3000/4000 Router Series ACL and QoS Configuration Guide

63
Configuring priority marking
Priority marking sets the priority fields or flag bits of packets to modify the priority of packets. For example,
you can use priority marking to set IP precedence or DSCP for a traffic class of IP packets to control the
forwarding of these packets.
To configure priority marking, you can associate a traffic class with a traffic behavior configured with the
priority marking action to set the priority fields or flag bits of the traffic class of packets.
Priority marking can be used together with priority mapping. For more information, see "Configuring
pr
iority mapping."
Configuration procedure
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a traffic class and
enter traffic class view.
traffic classifier classifier-name [ operator { and
| or } ]
By default, no traffic class
is configured.
3. Configure match criteria.
if-match [ not ] match-criteria
By default, no match
criterion is configured.
For more information
about the if-match
command, see ACL and
QoS Command
Reference.
4. Return to system view.
quit N/A
5. Create a traffic behavior
and enter traffic behavior
view.
traffic behavior behavior-name
By default, no traffic
behavior is configured.
6. Configure a priority
marking action.
Set the DSCP value for packets:
remark dscp dscp-value
Set the 802.1p priority for packets:
remark dot1p dot1p-value
Set the drop priority for packets:
remark drop-precedence
drop-precedence-value
Set the IP precedence for packets:
remark ip-precedence ip-precedence-value
Set the local precedence for packets:
remark local-precedence
local-precedence-value
Set the local QoS ID for packets:
remark qos-local-id local-id-value
Use one of the
commands.
By default, no priority
marking action is
configured.
The remark
drop-precedence
command applies to only
the incoming traffic.
7. Return to system view.
quit N/A
8. Create a QoS policy and
enter QoS policy view.
qos policy policy-name
By default, no QoS policy
is configured.