l
When the burst size of a packet is smaller than the CBS value, the packet is colored green.
l
When the burst size of a packet is equal to or larger than the CBS value but smaller than the
PBS value, the packet is colored yellow.
l
When the burst size of a packet is equal to or larger than the PBS value, the packet is colored
red.
Step 4
Run:
quit
Exit from the traffic behavior view.
Step 5
(Optional) Conduct the following steps to configure aggregate CAR.
1.
Run:
system-view
The system view is displayed.
2.
Run:
qos car
car-name
cir
cir-value
[
cbs
cbs-value
[
pbs
pbs-value
] |
pir
pir-
value
[
cbs
cbs-value
pbs
pbs-value
] ]
A CAR profile is created.
NOTE
Aggregate CAR supports only the single token bucket.
3.
Run:
traffic behavior
behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
4.
Run:
car
car-name
share
An aggregate CAR action is configured.
NOTE
Aggregate CAR is valid for only incoming packets.
After aggregate CAR is configured, the rules in a traffic classifier bound to a traffic behavior share
a CAR index. The system aggregates the traffic and implements the CAR for the traffic. If the traffic
classifier contains both Layer 2 information-based rules and Layer 3 information-based rules, the
car share
command does not take effect.
----End
2.3.4 Creating a Traffic Policy
You can associate a traffic classifier with a traffic behavior in a traffic policy.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
traffic policy
policy-name
[
match-order
{
auto
|
config
} ]
S3700HI Ethernet Switches
Configuration Guide - QoS
2 Traffic Policing and Traffic Shaping Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
60