(Optional) Configuring Scheduling Parameters for a GQ
The shaping rate can be set for a GQ to limit the volume of GQ traffic and prevent GQ traffic burst. In this case, traffic can be evenly sent.
Procedure
- Run system-view
The system view is displayed.
- Run user-group-queue group-name
The specified GQ view is displayed.
- Run shaping shaping-value [ pbs pbs-value ] { inbound | outbound }
The shaping value is set for the GQ.
NOTE:
When traffic shaping is not configured for the GQ, the system performs no traffic shaping by default. - (Option) Run mode template
The Group Queue (GQ) shares QoS resources according to the keyword group in the qos-profile (interface view) command.
NOTE:
After a GQ is created, the GQ applies for QoS resources only when the qos-profile (interface view) 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 (interface view) 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 (interface view) commands in the interface view, GQs share the same QoS resources.
- Run commit
The configuration is committed.