57IMPORTANT:Do not use the remark command together with the car command in a traffic behavior to performcolor-based marking.Configuration procedureTo configure priority marking:Step Command Remarks1. Enter system view. system-view N/A2. Create a class and enterclass view.traffic classifier tcl-name [ operator { and |or } ] N/A3. Configure match criteria. if-match match-criteria N/A4. Return to system view. quit N/A5. Create a behavior andenter behavior view. traffic behavior behavior-name N/A6. Set the DSCP value forpackets.remark [ green | red | yellow ] dscpdscp-value Optional.7. Set the 802.1p priorityfor packets or configurethe inner-to-outer tagpriority copying function.remark dot1p { 8021p |customer-dot1p-trust } Optional.8. Set the drop precedencefor packets.remark drop-precedencedrop-precedence-value Optional.9. Set the IP precedence forpackets. remark ip-precedence ip-precedence-value Optional.10. Set the local precedencefor packets. remark local-precedence local-precedence Optional.11. Return to system view. quit N/A12. Create a policy andenter policy view. qos policy policy-name N/A13. Associate the class withthe traffic behavior in theQoS policy.classifier tcl-name behavior behavior-name N/A14. Return to system view. quit N/A15. Apply the QoS policy.• Applying the QoS policy to an interface• Applying the QoS policy to online users• Applying the QoS policy to a VLAN• Applying the QoS policy globally• Applying the QoS policy to the controlplaneChoose one applicationdestination as needed.16. Display the prioritymarking configuration.display traffic behavior user-defined[ behavior-name ] [ | { begin | exclude |include } regular-expression ]Optional.Available in any view