Configuring a User Queue Profile in Enhanced 8-CoS Mode

You can use a user queue profile to configure parameters for a user queue, such as a scheduling mode, scheduling priority, scheduling weight, and shaping value.

Context

A user queue profile can be referenced by different QoS profiles to improve HQoS configuration efficiency and enable different user queue schedulers to perform differentiated QoS processing for service traffic. You must create a user queue profile before configuring parameters for it.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run slot slot-id

    The view of a specified slot is displayed.

  3. Run qos user-queue resource 8cos-enhance 8cos-enhance-size { inbound | outbound }

    Queue resources are configured for user queues in enhanced 8-CoS mode.

  4. Run quit

    Return to the system view.

  5. (Optional) Run service-template service-template-name

    A service profile is created and its view is displayed.

  6. (Optional) Run network-header-length network-header-length { inbound | outbound }

    A network header length is configured for the service profile.

  7. Run quit

    Return to the system view.

  8. Run user-queue user-queue-name

    A user queue profile is created and its view is displayed.

  9. 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 ] ] } }

    Scheduling parameters are configured for the user queue profile to limit its bandwidths.

  10. (Optional) Run priority priority scheduler-mode { pq | wfq }

    A scheduling mode is configured for the user queue scheduler with a specified priority so that the scheduler processes traffic based on the configured scheduling mode.

  11. (Optional) Run priority priority cir-parent-priority cir-priority-value pir-parent-priority pir-priority-value

    Scheduling priorities are configured for the user queue scheduler with a specified priority.

  12. (Optional) Run parent-priority priority weight weight

    A scheduling weight is configured for the user queue scheduler with a specified priority.

    If traffic congestion occurs, the service traffic of users is scheduled based on the weight ratio between user queues.

  13. (Optional) Run priority priority pir pir-value [ pbs pbs-value ]

    A rate limit is configured for the user queue scheduler with a specified priority in the user queue profile.

  14. (Optional) Run service-template service-template-name

    A service profile is associated with the user queue profile so that the packet length can be accurately compensated. This ensures that traffic shaping is more accurate.

  15. Run commit

    The configuration is committed.

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