Configuring priority marking, Overview, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 70
![background image](https://www.manualsdir.com/files/812672/content/doc070.png)
61
Configuring priority marking
Overview
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:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Create a class and enter class
view.
traffic classifier tcl-name [ operator { and | or } ]
N/A
3.
Configure match criteria.
if-match 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.
remark dot1p 8021p
Optional.
8.
Set the drop precedence for
packets.
remark drop-precedence drop-precedence-value
Optional.
Applicable to
only the
outbound
direction.
9.
Set the local precedence for
packets.
remark local-precedence local-precedence
Optional.
10.
Return to system view.
quit
N/A
11.
Create a policy and enter
policy view.
qos policy policy-name
N/A
12.
Associate the class with the
traffic behavior in the QoS
policy.
classifier tcl-name behavior behavior-name
N/A
13.
Return to system view.
quit
N/A