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

S12700 V200R012C00 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).
Configuring Congestion Management

Configuring Congestion Management

Pre-configuration Tasks

Before configuring congestion management, map the priority of packets to a PHB.

Context

Configure congestion management on the device when the network intermittently becomes congested.

Once congestion management is configured, the sequence at which packets are forwarded is determined according to the defined scheduling policy. High-priority services are scheduled preferentially.

There are eight queues on each interface. Different queues can use different scheduling modes, but each queue can use only one scheduling mode. Scheduling modes supported on the device include PQ, WRR, WDRR, PQ+WRR, and PQ+WDRR. When PQ+WRR or PQ+WDRR scheduling mode is used, the device schedules the queues using PQ scheduling first. If multiple queues using PQ scheduling exist, the device schedules the queues in descending order of priority. A larger queue index indicates a higher priority. After PQ scheduling is completed, the device schedules the queues using WRR or WDRR scheduling.

Both WRR and WDRR use weights. WRR schedules packets in queues based on the number of packets, whereas WDRR schedules packets in queues based on the number of bytes.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Configure the scheduling mode of queues.

    1. Run qos { pq | wrr | drr }

      The scheduling mode of queues on the interface is set to PQ, WRR, or WDRR.

      Alternatively, run qos { pq { start-queue-index [ to end-queue-index ] } &<1-8> | { wrr | drr } { start-queue-index [ to end-queue-index ] } &<1-8> } *

      The scheduling mode of queues on the interface is set to PQ+WRR or PQ+WDRR.

      By default, all queues use PQ scheduling.

      NOTE:

      The X series cards do not support WRR or PQ+WRR.

    2. (Optional) Run qos queue queue-index wrr weight weight

      The weight for WRR scheduling is set.

      By default, the weight for WRR scheduling is 1.

      This step is required only when the scheduling mode is WRR or PQ+WRR.

    3. (Optional) Run qos queue queue-index drr weight weight

      The weight for WDRR scheduling is set.

      By default, the weight for WDRR scheduling is 1.

      This step is required only when the scheduling mode is WDRR or PQ+WDRR.

Verifying the Configuration

  • Run the display qos configuration interface [ interface-type interface-number ] command to check all the QoS configurations on the interface.

  • Run the display qos queue statistics interface interface-type interface-number [ queue queue-index ] command to view queue-based traffic statistics on the interface.

Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038410

Views: 17683

Downloads: 24

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