< Home

qos queue (network QoS profile view)

Function

The qos queue command configures a queue scheduling weight for an AS.

The undo qos queue command restores the default queue scheduling weight of an AS.

By default, the queue scheduling weight is 1.

This command can only be executed on a parent switch.

Format

qos queue queue-index { drr | wrr } weight weight

undo qos queue queue-index { drr | wrr }

Parameters

Parameter

Description

Value

queue-index

Specifies the index of a queue.

The value is an integer that ranges from 0 to 7.

drr

Specifies the WDRR scheduling weight.

-

wrr

Specifies the WRR scheduling weight.

-

weight weight

Specifies the scheduling weight.

The value is an integer that ranges from 0 to 127.

Views

Network QoS profile view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If congestion occurs during queue scheduling, to ensure that each queue can be scheduled, configure a scheduling weight for each queue so that the device schedules each queue based on the configured scheduling weights.

In an SVF system, to change the queue scheduling weight of an AS port, run the qos queue command in the network QoS profile view and then bind the profile to the AS port.

Prerequisites

The queue scheduling mode of an AS port has been set to WRR or WDRR using the qos { pq | wrr | drr } command.

Example

# Set the WDRR scheduling weight of queue 4 in a network QoS profile to 6.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] network-qos-profile name test
[HUAWEI-um-net-qos-test] qos drr
[HUAWEI-um-net-qos-test] qos queue 4 drr weight 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >