NOTE
When WRR scheduling is applied and the weight of a queue is set to 0, the queue applies PQ scheduling
and other queues apply WRR scheduling. That is, the overall scheduling mode is PQ+WRR.
Step 5
(Optional) Run:
qos queue
queue-index
drr
weight
weight
The weight of an interface queue in DRR mode is set.
By default, the weight in DRR mode is 1.
You need to perform this step only when the scheduling mode of an interface queue is set to
DRR or PQ+DRR.
NOTE
When DRR scheduling is applied and the weight of a queue is set to 0, the queue applies PQ scheduling
and other queues apply DRR scheduling. That is, the overall scheduling mode is PQ+DRR.
----End
3.3.5 Checking the Configuration
After congestion management is configured, you can view the queue-based traffic statistics and
the scheduling parameters of the queues on a specified interface.
Prerequisites
The congestion management configurations are complete.
Procedure
l
Run the
display qos local-precedence-queue-map
command to check the mappings
between local precedences and queues.
l
Run the
display qos configuration
interface
interface-type interface-number
command
to check all the QoS configurations on the interface.
----End
3.4 Maintaining Congestion Avoidance and Congestion
Management
This section describes how to maintain traffic avoidance and congestion management.
3.4.1 Displaying the Queue-based Statistics
You can use display commands to view the queue-based traffic statistics such as the number of
forwarded and discarded packets.
Context
To view the queue-based traffic statistics, run the following command in any view.
S3700HI Ethernet Switches
Configuration Guide - QoS
3 Congestion Avoidance and Congestion Management
Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
95