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 Interface-based Adaptive Traffic Shaping

Configuring Interface-based Adaptive Traffic Shaping

Context

When the inbound interface rate on the downstream device is variable and lower than the outbound interface rate on the upstream device, configure adaptive traffic shaping on the outbound interface of the upstream device to reduce congestion and packet loss.

Adaptive traffic shaping is implemented by associating an NQA test instance with an adaptive traffic profile on the upstream device. The NQA test instance detects the packet loss ratio on the downstream device, and the upstream device dynamically adjusts traffic shaping parameters based on the packet loss ratio as follows:
  • Reduces the traffic shaping rate when the NQA test instance detects that the packet loss ratio is larger than the upper threshold in the adaptive traffic profile.
  • Increases the traffic shaping rate when all the following conditions are met:
    • The NQA test instance detects that the packet loss ratio is lower than the lower threshold in the adaptive traffic profile.
    • Congestion occurs on the outbound interface of the upstream device.
    • The interval for increasing the traffic shaping rate is reached.
  • Retains the traffic shaping rate in one of the following scenarios:
    • The NQA test instance detects that the packet loss ratio is smaller than the lower threshold in the adaptive traffic profile and no congestion occurs on the outbound interface of the upstream device.
    • The detected packet loss ratio is within the packet loss ratio range in the adaptive traffic profile.
  • Uses the upper threshold for the traffic shaping rate in the adaptive traffic profile when the NQA test fails.
  • Uses the upper threshold for the traffic shaping rate in the adaptive traffic profile when the adaptive traffic profile is not bound to any NQA test instance.

Procedure

  1. Configure an adaptive traffic profile.
    1. Run system-view

      The system view is displayed.

    2. (Optional) Run qos overhead layer { link | physics }

      A mode is specified for calculating packet lengths during traffic policing or traffic shaping.

      By default, the system counts the physical-layer and link-layer compensation information in packet lengths during traffic policing or traffic shaping.

    3. Run qos adaptation-profile adaptation-profile-name

      An adaptive traffic profile is created and its view is displayed.

    4. Run rate-range low-threshold low-threshold-value high-threshold high-threshold-value

      The traffic shaping rate range is set.

    5. (Optional) Run rate-adjust step step

      The traffic shaping rate change step is set.

    6. (Optional) Run rate-adjust increase interval interval-value

      The interval for increasing the traffic shaping rate is set.

    7. (Optional) Run rate-adjust loss low-threshold low-threshold-percentage high-threshold high-threshold-percentage

      The packet loss ratio range is set.

    8. Run track nqa admin-name test-name

      An NQA test instance is bound to the adaptive traffic profile.

      NOTE:

      When configuring an NQA test instance, ensure that NQA packets can enter high-priority queues so that they are not discarded in the case of heavy traffic.

    9. Run quit

      Exit from the adaptive traffic profile.

  2. Apply the adaptive traffic profile.
    1. Run interface interface-type interface-number[.subinterface-number]

      The interface or sub-interface view is displayed.

    2. Run qos gts adaptation-profile adaptation-profile-name

      The adaptive traffic profile is applied to the interface or sub-interface.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174115

Views: 39635

Downloads: 28

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