No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Congestion Management

Configuring Congestion Management

When a network is congested intermittently, configure congestion management on the device. The device then determines the sequence at which packets are forwarded according to the defined scheduling policy and ensures that high-priority services are scheduled preferentially.

Pre-configuration Tasks

Before configuring congestion management, complete the following task:
  • Mapping the priority of packets to a PHB


Each interface can be configured with a maximum of eight queues. Different queues can use different scheduling modes. The device schedules the PQ queue first. If multiple PQ queues exist, the device schedules the queues in descending order of priority. A larger queue index indicates higher priority of a queue. After all the PQ queues are scheduled, the device schedules the WRR or DRR queues in turn.


  1. Run:


    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    qos { pq { start-queue-index [ to end-queue-index ] } &<1-8> | { wrr | drr } { start-queue-index [ to end-queue-index ] } &<1-8> }*

    The scheduling mode of queues on the interface is set to PQ+WRR or PQ+DRR.

    By default, all queues use PQ scheduling.


    On the CX31x&CX91x series switch module 10GE switching planes and CX110 switch module GE switching plane, queues 0 to 5 can use WRR or DRR scheduling, and queues 6 and 7 can use only PQ scheduling.

  4. Configure the weight.

    • In WRR scheduling, run:

      qos queue queue-index wrr weight weight

      The weight for WRR scheduling is set.

      By default, the weight for WRR scheduling is 1.

    • In DRR scheduling, run:

      qos queue queue-index drr weight weight

      The weight for DRR scheduling is set.

      By default, the weight for DRR scheduling is 1.

  5. Run:


    The configuration is committed.

Checking the Configuration

  • Run the display qos configuration interface [ interface-type interface-number ] command to check all the QoS configurations on the interface.

  • Run the display qos queue statistics interface interface-type interface-number command to view queue-based traffic statistics on the interface.

Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 58085

Downloads: 3621

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next