< Home

stack-port qos { pq | wrr | drr }

Function

The stack-port qos { pq | wrr | drr } command configures a scheduling mode of queues on an interface of the stack.

The undo stack-port qos { pq | wrr | drr } command restores the default scheduling mode of queues on an interface of the stack.

By default, the queue scheduling mode of queues is priority queuing (PQ).

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 { pq | wrr | drr }

undo stack-port qos { pq | wrr | drr }

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 do not support WRR scheduling mode.

Parameters

Parameter

Description

Value

pq

Indicates the PQ scheduling mode.

-

wrr

Indicates the Weighted Round Robin (WRR) scheduling mode.

-

drr

Indicates the Weighted Deficit Round Robin (WDRR) scheduling mode.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the stack is configured, stack protocol packets and packets between chassis are exchanged on the stack interface. If a large number of packets are exchanged, congestion may occur on the stack interface. As a result, core services such as video and voice services cannot be processed in a timely manner. You can set the scheduling mode on the stack interface so that services with the same priority are processed in the same manner and services with different priorities are processed based on weights.

Precautions

Before setting the scheduling mode of queues, configure priority mapping based on simple traffic classification to map packet priorities to per-hop behaviors (PHBs) and colors or configure internal priority re-marking based on complex traffic classification so that packets of different services enter different queues.

Example

# Set the queue scheduling mode on the stack interface to WDRR.

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