Configuring Scheduling Parameters of an FQ

If you want to use a non-default flow queue (FQ) profile, you need to configure WFQ scheduling weights, traffic shaping, a shaping rate, and a way of dropping packets according to network requirements.

Context

You can configure scheduling parameters in one FQ profile for the eight FQs of a user.

If you do not configure an FQ, the system uses the default FQ profile.

  • By default, the system performs PQ scheduling on the FQs with the EF, CS6, and CS7 priorities.
  • The system defaults the FQs with the priorities of BE, AF1, AF2, AF3, and AF4 to WFQ. The scheduling weight proportion is 10:10:10:15:15.
  • By default, the system performs no traffic shaping.
  • The default drop policy is tail-drop.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run flow-queue flow-queue-name [ priority-mode ]

    The FQ view is displayed.

    If priority-mode is specified in the command, the priority-mode FQ view is displayed.

  3. (Optional) Run priority priority-value { pq | wfq }

    The scheduling mode of priority-mode FQs on the same scheduler is set to PQ or WFQ.

    This command must be run in the priority-mode FQ view, which is displayed using the flow-queue flow-queue-name priority-mode command.

  4. (Optional) Run share-shaping [ shap-id ] { af1 | af2 | af3 | af4 | be | cs6 | cs7 | ef } * shaping-value [ pbs pbs-value ]

    Share shaping for the overall traffic of multiple FQs is configured.

    After queues configured with share shaping are shaped, the queues are scheduled together with other user queues. If no scheduling mode is specified for share shaping, share shaping uses the same scheduling mode as that of sub-schedulers.

    In the priority-mode FQ view, the command format is share-shaping [ shap-id ] { af1 | af2 | af3 | af4 | be | cs6 | cs7 | ef } * [ [ pq | wfq ] | weight weight-value ] * shaping-value [ pbs pbs-value ].

  5. Run queue cos-value { { pq | wfq weight weight-value | lpq } | { shaping { shaping-value | shaping-percentage shaping-percentage-value } [ pbs pbs-value ] } | flow-wred wred-name | low-latency | low-jitter } *

    A queue scheduling policy is set for a class.

  6. Run quit

    Return to the system view.

  7. (Optional) Run qos cos { be | af1 | af2 | af3 | af4 | ef | cs6 | cs7 } burst-size burst-size-value

    The burst size of the eTM module is set.

  8. Run commit

    The configuration is committed.

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