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

Configuring Queue-based Traffic Shaping

Context

To shape packets in each queue on an interface, configure a queue profile and apply it to the interface. The packets received on an interface enter different queues based on priority mapping. The device provides differentiated services by setting different traffic shaping parameters for queues with different priorities.

  • Layer 2 interfaces on the AR100-S&AR110-S&AR160-S series, AR151-S2, AR1220E-S, AR1220E-S and AR1220F-Sdo not support the qos queue-profile (interface view) command.
  • The 9ES2, 4GE-2S, 4ES2G-S, and 4ES2GP-S cards do not support the qos queue-profile (interface view) command.

Procedure

  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 queue-profile queue-profile-name

    A queue profile is created and its view is displayed.

  4. Run queue { start-queue-index [ to end-queue-index ] } &<1-10> length { bytes bytes-value | packets packets-value }*

    The length of a queue is set.

    Interfaces on the 4GE-2S, 4ES2G-S, 4ES2GP-S and 9ES2 cards do not support the queue length command.

    Layer 2 FE interfaces on the AR120-S&AR150-S&200-S series do not support the queue length command.

    Layer 2 GE interfaces on the AR160-S series do not support the queue length command.

    FE interfaces on the SRU of the AR1200-S series do not support the queue length command.

  5. Run queue { start-queue-index [ to end-queue-index ] } &<1-10> gts cir cir-value [ cbs cbs-value ]

    Queue-based traffic shaping is configured.

    By default, queue-based traffic shaping is not performed.

  6. Run quit

    Exit from the queue profile view.

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

    The interface or sub-interface view is displayed.

  8. Run qos queue-profile queue-profile-name

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

Translation
Download
Updated: 2019-12-27

Document ID: EDOC1000174115

Views: 45028

Downloads: 33

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next