7-1
7 Priority Marking Configuration
When configuring priority marking, go to these sections for information you are interested in:
z Priority Marking Overview
z Configuring Priority Marking
z Priority Marking Configuration Example
Priority Marking Overview
Priority marking can be used together with priority mapping. For details, refer to Priority Mapping Table
and Priority Marking Configuration Example
.
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.
Configuring Priority Marking
Follow these steps to configure priority marking:
To do… Use the command… Remarks
Enter system view system-view —
Create a class and enter
class view
traffic classifier tcl-name [ operator
{ and | or } ]
—
Configure the match
criteria
if-match match-criteria —
Exit class view quit —
Create a behavior and
enter behavior view
traffic behavior behavior-name —
Set the DSCP value for
packets
remark dscp dscp-value Optional
Set the 802.1p priority for
packets
remark dot1p Optional
Set the drop precedence
for packets
remark drop-precedence
drop-precedence-value
Optional