priority-mode

Function

The priority-mode command sets the scheduling mode of priority-mode flow queues to PQ or WFQ.

The undo priority-mode command restores the default settings.

By default, the scheduling mode of priority-mode flow queues is WFQ.

Format

priority priority-value { pq | wfq }

undo priority priority-value

Parameters

Parameter Description Value
priority-value

Specifies the priority value of a scheduler.

The value is an integer ranging from 0 to 3.

Views

Priority-mode flow queue template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To set the scheduling mode of priority-mode flow queues to PQ or WFQ, run the priority command.

Example

# Set the scheduling mode to PQ for priority-mode flow queues on the scheduler with the priority value of 0 in the priority-mode flow queue profile named test.
<HUAWEI> system-view
[~HUAWEI] flow-queue test priority-mode
[*HUAWEI-flow-queue-template-test] priority 0 pq
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >