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

Configuration Guide - QoS

CloudEngine 12800 and 12800E V200R003C00

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).
Traffic Shaping

Traffic Shaping

Traffic shaping adjusts the rate of outgoing traffic to reduce traffic bursts so that outgoing packets can be transmitted at a stable rate. Traffic shaping uses a buffer and token buckets to control the traffic rate. When packets are sent at a high speed, the system buffers packets and then sends them evenly under the control of the token buckets.

Figure 5-5 shows an example of the traffic shaping process, using flow-based queue shaping in single-rate-single-bucket mode.

Figure 5-5 Traffic shaping process

The traffic shaping process is as follows:

  1. When packets arrive, the system classifies packets and places them into different queues.
  2. If a queue is not configured with traffic shaping, packets placed in this queue are immediately sent. For the queues configured with traffic shaping, the system proceeds to the next step.
  3. The system places tokens in the bucket at the specified rate (CIR):
    • If there are sufficient tokens in the bucket, the system sends the packets and decreases the number of tokens accordingly.
    • If tokens in the bucket are insufficient for packet forwarding, the system places the packets into the buffer queue. If the buffer queue is full, the system discards the packets.
  4. When there are packets in the buffer queue, the system compares the number of packets with the number of tokens in the token bucket. If there are sufficient tokens, the system forwards packets until all the packets in the buffer queue are sent.
Translation
Download
Updated: 2019-05-05

Document ID: EDOC1100004202

Views: 31906

Downloads: 26

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