< Home

stack-port qos queue

Function

The stack-port qos queue command configures the WRR or WDRR weight for queues on an interface of the stack.

The undo stack-port qos queue command restores the default WRR or WDRR weight for queues on a stack interface.

By default, the WRR or WDRR weight for queues on an interface of the stack is 1.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

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

undo stack-port qos queue queue-index { wrr | drr } [ weight weight ]

The WRR weight of queues cannot be set on the stack interface of the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S.

Parameters

Parameter

Description

Value

queue queue-index

Specifies the index of a queue.

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

wrr

Indicates the WRR weight.

-

drr

Indicates the WDRR weight.

-

weight weight

Specifies the WRR or WDRR weight.

The value is an integer. The value range is as follows:
  • S5720-EI: 0 to 63
  • Other models: 0 to 127

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When using WRR or WDRR scheduling, you can set the weight for each queue. Then the switch schedules queues in turn based on the weights. If the weight of a queue is set to 0, the queue uses PQ scheduling. In this case, PQ+WRR or PQ+WDRR is used.

Prerequisites

The stack-port qos { pq | wrr | drr } command has been executed to configure the WRR or WDRR scheduling mode of queues on a stack interface.

Example

# Set the WDRR weight for queue 1 on the stack interface to 30.

<HUAWEI> system view
[HUAWEI] stack-port qos queue 1 drr weight 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >