The weight command sets a weight value for a GQ.
The undo weight command restores the default setting.
By default, the weight value of GQ is 10.
weight weight-value outbound
undo weight outbound
Specifies a weight value.
The value is an integer ranging from 1 to 63.
Indicates outgoing traffic.
-
User group queue view
2: Configuration level
Usage Scenario
In the case of traffic congestion, the weight command can be used to set weight values for GQs so that the GQs can be scheduled based on the weights.
<HUAWEI> system-view [~HUAWEI] user-group-queue test [~HUAWEI-user-group-queue-test] weight 20 outbound