weight (user group queue view)

Function

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.

Format

weight weight-value outbound

undo weight outbound

Parameters

Parameter Description Value
weight-value

Specifies a weight value.

The value is an integer ranging from 1 to 63.

outbound

Indicates outgoing traffic.

-

Views

User group queue view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

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.

Example

# Set the weight value for a user group queue.
<HUAWEI> system-view
[~HUAWEI] user-group-queue test
[~HUAWEI-user-group-queue-test] weight 20 outbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic