Configuring an FQ Profile in Enhanced 8-CoS Mode

An FQ profile in enhanced 8-CoS mode is used to configure scheduling parameters for FQs of the eight priorities to provide differentiated QoS guarantee for service traffic with different priorities.

Context

You can configure CIRs, PIRs, and scheduling weights for FQs of the eight priorities and enable the re-marking function to differentiate CIR traffic from PIR traffic by color. This ensures that CIR traffic is preferentially processed.

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Configure a flow-WRED object.
    1. Run flow-wred wred-name

      A flow-WRED object is created and its view is displayed.

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

      Upper and lower drop thresholds as well as a drop probability are configured.

    3. Run queue-depth queue-depth-value

      A queue depth is configured. You can reduce the packet delay by adjusting the queue depth.

    4. Run quit

      Return to the system view.

  3. Run flow-queue flow-queue-name [ 8cos-enhance-mode ]

    An FQ profile in enhanced 8-CoS mode is created and its view is displayed.

  4. Run cos cos-value

    The queue priority sub-view is displayed.

  5. Run pir { { pir-value [ pbs pbs-value ] [ cir cir-value [ cbs cbs-value ] ] } | { percentage pir-percent [ pbs pbs-value ] [ cir-percentage cir-percent [ cbs cbs-value ] ] } }

    A PIR and CIR are configured for the FQ in the FQ profile in enhanced 8-CoS mode to limit the bandwidths of the FQ with the specified CoS.

  6. (Optional) Run cir-parent-priority cir-priority-value [ weight cir-weight-value ] pir-parent-priority pir-priority-value [ weight pir-weight-value ]

    Scheduling priorities and weights are configured for the FQ with the specified CoS.

    The scheduling weights take effect only when the scheduling mode of a user queue is WFQ.

  7. Run remark-color enable

    The re-marking function is enabled to distinguish and mark PIR and CIR traffic.

    This function takes effect only for upstream traffic.

  8. (Optional) Run flow-wred wred-name

    A WRED drop profile is bound to the FQ.

  9. (Optional) Run car-mode enable

    The CAR mode is enabled for the FQ. In CAR mode, a device does not cache user packets, reducing the delay.

    The CAR mode can be enabled only for FQs of CoS 5, CoS 6, and CoS 7.

  10. Run commit

    The configuration is committed.

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