Configuring color-based priority marking, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual
Page 70

60
Configuring color-based priority marking
This section describes how to configure color-based priority marking.
Configuring priority marking based on colors obtained through traffic policing
After traffic policing evaluates and colors packets, the device can mark traffic with various priority values
(including DSCP values, 802.1p priority values, and local precedence values) by color. Configure
priority marking by using either of the following methods:
•
Configuring the priority marking actions by color in the traffic policing action
•
Configuring the priority marking actions by color in the behavior where the traffic policing action is
configured
You can use the two methods at the same time to mark multiple priority values for packets in the same
color. However, do not use the two methods to mark different values of the same priority type for packets.
Otherwise, the QoS policy configured with the behavior cannot be applied normally.
In a traffic behavior, an aggregate CAR action cannot be configured together with a priority marking
action. Otherwise, the QoS policy configured with the behavior cannot be applied normally.
The device implements both common CAR and aggregate CAR by using a QoS policy. For more
information about configuring classes and behaviors in a QoS policy, see "
" and "
Configuring priority marking based on colors obtained through mapping drop precedence
When packets are colored based on drop precedence values, you can create priority marking actions
for packets in different colors in a traffic behavior and mark DSCP values, 802.1p priority values, and
local precedence values for packets.
Configuration procedure
To configure priority marking:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Create a traffic class and
enter traffic class view.
traffic classifier classifier-name [ operator { and
| or } ]
By default, no traffic class
exists.
3.
Configure match criteria.
if-match match-criteria
By default, no match
criterion is configured.
For more information
about the if-match
command, see ACL and
QoS Command
Reference.
4.
Return to system view.
quit
N/A
5.
Create a traffic behavior
and enter traffic behavior
view.
traffic behavior behavior-name
By default, no traffic
behavior exists.
- H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches