qos pq-scheduler priority

Function

The qos pq-scheduler priority command modifies the priority of PQ scheduling.

The undo qos pq-scheduler priority command cancels the priority of PQ scheduling on a subcard or restores the default priority of PQ scheduling on a board.

By default, a board has a default PQ scheduling priority of high, and a subcard has no default PQ scheduling priority.

Format

qos pq-scheduler priority { high | low } { inbound | outbound }

undo qos pq-scheduler priority { inbound | outbound }

Parameters

Parameter Description Value
high

High.

-

low

Low.

-

inbound

Specifies the inbound direction of an interface.

-

outbound

Specifies the outbound direction of an interface.

-

Views

Slot view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

When CIR-based congestion occurs, if PQ and non-PQ schedulings must be distinguished for FQs between SQs, set the priority of PQ scheduling to high; if PQ and non-PQ schedulings do not need to be distinguished for FQs between SQs, set the priority of PQ scheduling to low.

  • High: Packets conforming to the CIR and latency-sensitive packets share the priority value 0.
  • Low: In all queues, packets conforming to the CIR has the priority value of 1, and packets conforming to the PIR has the priority value of 3.

Example

# Set the priority of PQ scheduling to high.
<HUAWEI> system-view
[~HUAWEI] slot 1
[*HUAWEI-slot 1] qos pq-scheduler priority high inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >