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

Reminder

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

upgrade

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

Configuring Traffic Shaping for a Queue

Context

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.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. (Optional) Run:

    qos-shaping exclude-interframe

    The system is configured not to count the inter-frame gap and preamble of packets when calculating the traffic rate for traffic shaping.

    By default, the device counts the inter-frame gap and preamble of packets when the device calculates the traffic shaping rate.

  3. Run:

    interface interface-type interface-number

    The interface view is displayed.

  4. Run:

    qos queue queue-index shaping cir cir-value pir pir-value [ cbs cbs-value pbs pbs-value ]

    The traffic shaping rate is configured for a queue on the interface. It is recommended that the CBS should be 120 times the CIR.

    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.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142089

Views: 42734

Downloads: 87

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