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.


S12700 V200R010C00 Configuration Guide - QoS

This document describes the configurations of QoS functions, including MQC, priority mapping, traffic policing, traffic shaping, interface-based rate limiting, congestion avoidance, congestion management, packet filtering, redirection, traffic statistics, ACL-based simplified traffic policy, and HQoS.
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

Pre-configuration Tasks

Configure congestion management on the device when the network intermittently becomes congested.

Once congestion management is configured, the sequence at which packets are forwarded is determined according to the defined scheduling policy. High-priority services are scheduled preferentially.

Before configuring congestion management, map the priority of packets to a PHB.


There are eight queues on each interface. Different queues can use different scheduling modes. The device schedules the queues using PQ scheduling first. If multiple queues using PQ scheduling 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 scheduling is completed, the device schedules the queues using WRR and WDRR scheduling.


  1. Run:


    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Configure the scheduling mode of queues.

    1. Run:

      qos { pq | wrr | drr }

      The scheduling mode of queues on the interface is set to PQ, WRR, or WDRR.

      Or, 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+WDRR.

      By default, all queues use PQ scheduling.


      Queues 6 and 7 on the SC series cards always use PQ scheduling, so WRR or WDRR scheduling can be configured for only queues 0 to 5.

      X series cards do not support WRR or PQ+WRR.

    2. (Optional) Run:

      qos queue queue-index wrr weight weight

      The weight for WRR scheduling is set.

      By default, the weight for WRR scheduling is 1.

      This step is required only when the scheduling mode is WRR or PQ+WRR.

    3. (Optional) Run:

      qos queue queue-index drr weight weight

      The weight for WDRR scheduling is set.

      By default, the weight for WDRR scheduling is 1.

      This step is required only when the scheduling mode is WDRR or PQ+WDRR.

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 [ queue queue-index ] command to view queue-based traffic statistics on the interface.

Updated: 2019-08-21

Document ID: EDOC1000142089

Views: 46039

Downloads: 87

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