(Optional) Configuring the Traffic Shaping ofa GQ

A PIR value used for traffic shaping can be set for a GQ to limit the volume of GQ traffic and prevent GQ traffic burst. In this way, traffic can be evenly sent.

Context

When traffic shaping is not configured for the GQ, the system performs no traffic shaping by default.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run user-group-queue group-name

    The view of a specified GQ is displayed.

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

    A shaping rate is set for the GQ.

  4. (Optional) Run mode template

    The GQ is enabled to share QoS resources based on the group keyword in the qos-profile (interface view) command.

    After a GQ is created, the GQ applies for QoS resources only when the qos-profile command is run in the interface view. If the mode template command is configured, GQs consume resources based on the keyword group of the qos-profile command in the interface view; if the mode template command is not configured, GQs share the same QoS resources. Even though group is defined differently in multiple qos-profile commands in the interface view, GQs share the same QoS resources.

  5. Run commit

    The configuration is committed.

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