Configuring colored primap – H3C Technologies H3C S12500 Series Switches User Manual
Page 45

36
Step Command
11.
Apply the QoS policy.
•
Applying the QoS policy to an interface
•
Applying the QoS policy to a VLAN
•
Applying the QoS policy globally
Configuring colored primap
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 traffic behavior
and enter traffic behavior
view.
traffic behavior behavior-name N/A
6.
Configure a CAR action.
car cir committed-information-rate [ cbs
committed-burst-size [ ebs
excess-burst-size ] ] [ pir
peak-information-rate ] [ red action ]
N/A
7.
Configure the action of
assigning priority values
to packets using a
specified colored priority
mapping table.
primap pre-defined color { dot1p-dot1p |
dot1p-exp | dot1p-dp | dot1p-dscp |
dot1p-lp | dscp-dot1p | dscp-dp |
dscp-dscp | dscp-exp | dscp-lp |
exp-dot1p | exp-dp | exp-dscp | exp-exp
| exp-lp | up-dscp }
N/A
8.
Configure the action of
assigning drop
precedence to packets
according to packet
color.
primap color-map-dp
Optional.
The packet color-to-drop
precedence mappings are
fixed to red to 2, yellow to 1,
and green to 0.
This action can be used only in
the inbound direction.
9.
Return to system view.
quit
N/A
10.
Create a policy and enter
policy view.
qos policy policy-name
N/A
11.
Associate the traffic
behavior with the class.
classifier tcl-name behavior behavior-name N/A
12.
Return to system view.
quit
N/A
13.
Apply the QoS policy.
•
Applying the QoS policy to an interface
•
Applying the QoS policy to a VLAN
•
Applying the QoS policy globally
Choose one application
destination as needed.