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.
Priority marking can be used together with priority mapping. For more information about priority
mapping, see
Configuration procedure
To configure priority marking:
Step
1.
Enter system view.
2.
Create a class and enter
class view.
3.
Configure match criteria.
4.
Return to system view.
5.
Create a behavior and
enter behavior view.
6.
Set the DSCP value for
packets.
7.
Set the 802.1p priority
for packets or configure
the inner-to-outer tag
priority copying function.
8.
Set the drop precedence
for packets.
9.
Set the IP precedence for
packets.
10.
Set the local precedence
for packets.
11.
Set the local QoS ID for
packets.
12.
Return to system view.
"Configuring priority
mapping."
Command
system-view
traffic classifier tcl-name [ operator { and |
or } ]
if-match match-criteria
quit
traffic behavior behavior-name
remark dscp dscp-value
remark dot1p { 8021p |
customer-dot1p-trust }
remark drop-precedence
drop-precedence-value
remark ip-precedence ip-precedence-value
remark local-precedence local-precedence
remark qos-local-id local-id-value
quit
54
Remarks
N/A
N/A
N/A
N/A
N/A
Optional.
Optional.
Optional.
Applicable to only the
outbound direction.
Optional.
Optional.
Optional.
The local QoS ID is used for
identifying services and has
only local significance. By
marking different classes of
traffic with the same QoS local
ID, you can re-classify them to
apply a uniform set of QoS
actions on them.
N/A