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).
Configuring ECN

Configuring ECN

Context

Combination of WRED and Explicit Congestion Notification (ECN) enables a terminal device to detect congestion and notify the source of congestion. After receiving the notification, the source reduces the rate of sending packets to prevent congestion from aggravating.

To limit the rate of packets sent by the upstream device to prevent congestion aggravation, configure ECN.

NOTE:
  • Global ECN cannot be enabled in a VS except Admin-VS in port mode, whereas global ECN enabled in Admin-VS takes effect in a VS in port mode. Global ECN can be enabled in a VS in port group mode and takes effect only in this VS.

  • After ECN is enabled for the queue, if congestion occurs, the device does not randomly discard packets. Instead, the device randomly marks packets based on the WRED drop profile.

    For the CE12800E, when the queue length reaches the upper threshold, the device starts to discard new packets entering the queue. In this case, ECN cannot reset the CE field.

Procedure

  • Configure ECN on the CE12800.
    1. Run system-view

      The system view is displayed.

    2. Run qos ecn

      Global ECN is enabled.

    3. Run drop-profile drop-profile-name

      A WRED drop profile is created and the drop profile view is displayed.

      By default, the WRED drop profile default exists. The WRED drop profile default can be modified but cannot be deleted.

    4. Run ecn { buffer-size low-limit low-buffer-size high-limit high-buffer-size | low-limit low-limit-percentage high-limit high-limit-percentage } discard-percentage discard-percentage-value

      ECN parameters including the absolute values of upper and lower drop thresholds, upper and lower drop thresholds in percentage, and maximum drop probability are configured.

      By default, the absolute values of upper and lower drop thresholds, upper and lower drop thresholds in percentage, and maximum drop probability are not set.

    5. Run quit

      Exit from the WRED drop profile view.

    6. Run interface interface-type interface-number

      The interface view is displayed.

    7. Run qos queue queue-index ecn drop-profile-name

      ECN is enabled for a specified queue.

    8. Run commit

      The configuration is committed.

  • Configure ECN on the CE12800E.
    1. Run system-view

      The system view is displayed.

    2. Run drop-profile drop-profile-name

      A WRED drop profile is created and the drop profile view is displayed.

      By default, the WRED drop profile default exists. The WRED drop profile default can be modified but cannot be deleted.

    3. Run color { green | red | yellow } { buffer-size low-limit low-buffer-size high-limit high-buffer-size | low-limit low-limit-percentage high-limit high-limit-percentage } discard-percentage discard-percentage

      WRED parameters are set.

      By default, the upper drop threshold, lower drop threshold, and maximum drop probability of a WRED drop profile are all 100, and absolute values of upper and lower drop thresholds are not configured.

    4. Run quit

      Exit from the WRED drop profile view.

    5. Run interface interface-type interface-number

      The interface view is displayed.

    6. Apply the WRED drop profile to an interface or interface queue.

      • Run qos wred drop-profile-name

        The WRED drop profile is applied to an interface.

      • Run qos queue queue-index wred drop-profile-name

        The WRED drop profile is applied to an interface queue.

      If you apply a WRED drop profile to an interface and an interface queue simultaneously, the WRED drop profile that is applied to the interface queue first takes effect.

    7. Run qos queue queue-index ecn

      ECN is enabled for a specified queue.

    8. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-05-05

Document ID: EDOC1100004202

Views: 31569

Downloads: 26

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