< Home

Configuring a Flow Queue

Context

Priority mapping enables the switch to map packet priorities (802.1p/DSCP priorities) to local priorities and mark packet colors. Packets enter different flow queues based on the mapped local priorities so that differentiated services are implemented. For details about priority mapping, see Configuring Priority Mapping.

Procedure

  1. (Optional) Configure a flow queue WRED drop profile and congestion avoidance parameters.
    1. Run system-view

      The system view is displayed.

    2. Run flow-wred-profile flow-wred-profile-name

      A flow queue WRED drop profile is created or the view of an existing flow queue WRED drop profile is displayed.

      By default, the system predefines a flow queue WRED drop profile default. This flow queue WRED drop profile cannot be modified or deleted.

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

      The upper and lower drop thresholds and maximum drop probability are set.

    4. (Optional) Run queue-depth queue-depth-value

      The flow queue length is set.

    5. Run quit

      Exit from the flow queue WRED drop profile view.

      In the flow queue WRED drop profile default, the upper and lower drop thresholds and maximum drop probability are 100. To adjust parameters in the flow queue WRED drop profile to implement congestion avoidance, perform the preceding configurations. If the preceding configurations are not performed, a flow queue references the flow queue WRED drop profile default.

  2. Configure a flow queue profile and set parameters for the flow queue, including congestion management, traffic shaping, and flow queue WRED drop profile.
    1. Run flow-queue-profile flow-queue-profile-name

      A flow queue profile is created or the view of an existing flow queue profile is displayed.

      By default, the system predefines a flow queue profile default. This flow queue profile cannot be modified or deleted.

    2. Run qos queue queue-index { { pq | wfq weight weight-value } | { shaping { shaping-value | shaping-percentage shaping-percentage-value } } | { flow-wred-profile flow-wred-profile-name } } *

      The scheduling mode, traffic shaping rate, and flow queue WRED drop profile are configured.

      If no flow queue WRED drop profile is specified, the flow queue WRED drop profile default is used.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >