(Optional) Configuring a GQ Profile in Enhanced 8-CoS Mode

You can configure a shaping value and weight for a GQ to limit the volume of GQ traffic and prevent its burst. In this case, traffic can be sent at an even rate.

Context

HQoS uses multi-level scheduling to distinguish user- or service-specific traffic for differentiated bandwidth management. If the traffic on an upstream router exceeds the processing capability of a downstream device, the default traffic bandwidth becomes insufficient, resulting in network congestion. In this case, you can configure scheduling parameters and queue weights for GQs to implement differentiated QoS processing for service traffic in the queues. This ensures that sufficient bandwidth is allocated to services in the GQ with a higher priority.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run user-group-queue group-name

    The GQ view is displayed.

  3. Run shaping shaping-value [ pbs pbs-value ] { inbound | outbound }

    Scheduling parameters are configured for the GQ.

    The shaping value specified in this command must be greater than or equal to the sum of CIRs of all the SQs that reference the GQ. Otherwise, the CIRs cannot be ensured. A CIR can be configured using the user-queue command.

    If the configured PBS is less than the maximum transmission unit (MTU) or actual packet length, packet loss occurs. The MTU defines the maximum length of a packet that can be sent on an interface without fragmentation. If the length of an IP packet exceeds the MTU, the packet is fragmented before being sent out. You can run the mtu mtu command to configure the MTU of an interface.

  4. Run mode template

    Users in the user group corresponding to the GQ are enabled to share QoS resources.

    After a GQ is created, users in the user group corresponding to the GQ can share QoS resources only when the GQ is bound to a QoS profile. If the mode template command has been run, users in the user group corresponding to the GQ share QoS resources. If the mode template command is not run, users in all user groups share QoS resources.

  5. Run weight weight-value outbound

    A weight is configured for the GQ to ensure that services in the GQ are scheduled based on the configured weight.

  6. Run cir cir-value [ cbs cbs-value ] [ pir pir-value [ pbs pbs-value ] ] outbound

    A CIR and PIR are configured to limit the traffic of the GQ so that the traffic is sent at an even rate.

  7. Run commit

    The configuration is committed.

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