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).
Congestion Avoidance

Congestion Avoidance

Congestion avoidance is a mechanism used to control service flows. Congestion avoidance allows the device to monitor network resource usage, such as queues and memory buffers. The system uses tail drop or WRED to discard packets when congestion occurs or worsens.

The switch supports the following congestion avoidance features:

  • Tail drop

    When the queue length reaches its maximum value, the packets that were added last (at the tail of the queue) are discarded. This packet drop policy may cause global TCP synchronization. As a result, TCP connections cannot be set up.

    Below, three colors represent three TCP connections. When packets from multiple TCP connections are discarded, these TCP connections enter the congestion avoidance and slow start state. Traffic reduces, and then reaches a peak. Traffic volume varies greatly.

    Figure 5-1  Tail drop of multiple TCP connections

  • WRED

    Random Early Detection (RED) is used to avoid global TCP synchronization. Its mechanism randomly discards packets. This ensures the transmission speed of multiple TCP connections are not reduced simultaneously. Global TCP synchronization is prevented and the TCP and network traffic rates are stabilized.

    Figure 5-2  RED of multiple TCP connections

    The switch provides Weighted Random Early Detection (WRED) based on RED technology.

    WRED discards packets in queues based on DSCP priorities or IP priorities. The upper drop threshold, lower drop threshold, and drop probability can be set for each priority. When the total size of packets in a queue reaches the lower drop threshold, the switch discards packets. As the total size of packets in the queue increases, the packet loss ratio increases accordingly. The maximum drop probability cannot exceed the configured packet loss ratio. All packets are discarded when the total size of packets in the queue reaches the upper drop threshold. WRED discards packets in queues based on the drop probability, thereby preventing congestion to a certain degree.

Updated: 2019-08-21

Document ID: EDOC1000142089

Views: 45234

Downloads: 87

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