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 classifier-name [ operator { and | or } ] | N/A |
3. Configure match criteria. | if-match [ not ] 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 IP precedence for packets. | remark ip-precedence ip-precedence-value | Optional. |
9. Set the QoS-local ID for packets. | remark qos-local-id local-id-value | 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 classifier-name behavior behavior-name | N/A |
13. Return to system view. | quit | N/A |
14. Apply the QoS policy. | Choose one of the application destinations as needed. | |
15. Display the priority marking configuration. | display traffic behavior { system-defined | user-defined } [ behavior-name ] [ | { begin | exclude | include } regular-expression ] | Optional. Available in any view. |