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

CLI-based Configuration Guide - QoS

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009

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 Queue-based WRED

Configuring Queue-based WRED

Context

NOTE:

LAN-side subcards do not support WRED.

A drop profile defines WRED parameters. You can bind the drop profile to a queue profile and apply the queue profile to the interface to implement congestion avoidance for queues bound to the drop profile.

The device supports WRED based on DSCP priorities or IP priorities:
  • The value of an IP precedence ranges from 0 to 7.
  • The value of a DSCP priority ranges from 0 to 63.
  • Eight DSCP priorities correspond to one IP priority. For example, DSCP priorities 0 to 7 correspond to IP precedence 0, and DSCP priorities 8 to 15 correspond to IP precedence 1.
WRED based on DSCP priorities differentiates services in a more refined manner.
NOTE:

Drop profiles can be bound to only queues using WFQ on WAN-side interfaces and Layer 2 VE interfaces of the device.

The AR1200-S series, AR3200-S series, and AR2200-S series search the drop profile for the DSCP priority mapping the EXP priority multiplied by eight and discards the MPLS packets based on the drop profile. For example, if the EXP priority of packets is 2, the device searches a drop profile for DSCP 16 and discards packets based on the drop profile.

Procedure

  1. Configuring a drop profile
    1. Run system-view

      The system view is displayed.

    2. Run drop-profile drop-profile-name

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

    3. (Optional) Run wred { dscp | ip-precedence }

      A WRED drop profile based on DSCP or IP priorities is configured.

    4. Run the following commands as required.

      • Run dscp { dscp-value1 [ to dscp-value2 ] } &<1-10> low-limit low-limit-percentage high-limit high-limit-percentage discard-percentage discard-percentage

        WRED parameters based on DSCP priorities are set.

      • Run ip-precedence { ip-precedence-value1 [ to ip-precedence-value2 ] } &<1-10> low-limit low-limit-percentage high-limit high-limit-percentage discard-percentage discard-percentage

        WRED parameters based on IP priorities are set.

    5. Run quit

      Exit from the drop profile view.

  2. Applying the drop profile
    1. Run qos queue-profile queue-profile-name

      The queue profile view is displayed.

      The drop profile can be an existing drop profile or a new drop profile. You can set the scheduling mode, queue weight, queue length, and queue shaping in the queue profile.

    2. Run schedule wfq start-queue-index [ to end-queue-index ]

      WFQ is specified for the specified queue in the queue profile.

    3. Run queue { start-queue-index [ to end-queue-index ] } &<1-10> drop-profile drop-profile-name

      A drop profile is bound to a queue in a queue profile.

      By default, no queue is bound to a drop profile. All queues use tail drop.

    4. Run quit

      Exit from the queue profile view.

    5. Run interface interface-type interface-number[.subinterface-number ]

      The interface view or sub-interface view is displayed.

    6. Run qos queue-profile queue-profile-name

      The queue profile is applied to the interface or sub-interface.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174115

Views: 42381

Downloads: 30

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