The preceding command output indicates that traffic policing is configured in the inbound
direction on Eth2/0/0. Traffic policing only limits the rate of incoming packets.
Procedure
Step 1
Run the
system-view
command on RouterA to enter the system view.
Step 2
Run the
interface
ethernet 2/0/0
command to enter the view of Eth2/0/0.
Step 3
Run the
qos car
outbound cir
10000
command to configure traffic policing in the outbound
direction and set the CIR value to 10 Mbit/s.
After the preceding operations are complete, when traffic is sent to RouterA at 20 Mbit/s,
Eth2/0/0 forwards the traffic at 10 Mbit/s. Traffic policing takes effect and the fault is rectified.
----End
Summary
If interface-based traffic policing fails to take effect, check whether interface-based traffic
policing is configured in the correct direction. If
qos car
inbound
is used, traffic policing takes
effect for only incoming packets. If
qos car
outbound
is used, traffic policing takes effect for
only outgoing packets.
9.4 Traffic Shaping Troubleshooting
This chapter describes common causes of traffic shaping faults, and provides the corresponding
troubleshooting flowcharts, troubleshooting procedures, alarms, and logs.
9.4.1 Queue-based Traffic Shaping Results Are Incorrect
This section describes the troubleshooting flowchart and provides a step-by-step troubleshooting
procedure to use when queue-based traffic shaping results are incorrect.
Common Causes
This fault is commonly caused by one of the following:
l
Traffic shaping parameters are set incorrectly.
l
The CIR value for interface-based traffic shaping is smaller than the sum of CIR values for
traffic shaping in queues on the interface. As a result, the bandwidth required by queues
cannot be ensured.
l
Packets do not enter queues configured with traffic shaping because the configuration is
incorrect. For example, priority mapping is incorrect.
l
Each queue uses the combined scheduling mode and excess packets enter Priority Queuing
(PQ) queues. As a result, other queues cannot obtain sufficient bandwidth.
NOTE
In combined scheduling mode, if the bandwidth is insufficient, the CIR value of other queues cannot
be reached. This is a correct traffic shaping result.
Troubleshooting Flowchart
shows the troubleshooting flowchart.
Huawei AR2200-S Series Enterprise Routers
Troubleshooting
9 QoS
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
252