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.

Configuration Guide - QoS
CloudEngine 12800 and 12800E V200R002C50

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, and ACL-based simplified traffic policy.

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 Traffic Shaping for a Queue

Configuring Traffic Shaping for a Queue


Packets received on an interface enter different queues based on priority mapping. The device can provide differentiated services for queues of different priorities using different traffic shaping parameter settings for these queues.

Before configuring traffic shaping for queues on an interface, configure priority mapping to map packet priorities to per hop behaviors (PHBs) so that packets of different services enter different queues. For details about priority mapping, see Configuring Priority Mapping.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run qos queue queue-index shaping cir cir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] | pir pir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ] ]

    The traffic shaping rate is configured for a queue on the interface.

    By default, the traffic shaping rate for a queue is the maximum bandwidth of the interface.

    If both queue-based traffic shaping and outbound rate limiting (configured by the qos lr command) are configured on an interface, the CIR for outbound rate limiting must be greater than or equal to the sum of CIR values of all queues on the interface; otherwise, the traffic shaping result may be incorrect. For example, a low-priority queue may preempt the bandwidth of a high-priority queue.

  4. Run commit

    The configuration is committed.

Updated: 2019-03-21

Document ID: EDOC1000166605

Views: 66534

Downloads: 84

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next