priority cir-parent-priority

Function

The priority cir-parent-priority command sets scheduling priorities for a user queue's parent scheduler with a specified priority in a user queue profile.

The undo priority cir-parent-priority command restores the default scheduling priorities for a user queue's parent scheduler with a specified priority in a user queue profile.

By default, the parent schedulers of the user queues with priorities 0 to 3 correspond to CIR priorities 0 to 3, and the corresponding PIR priorities are 3 in a user queue profile.

Format

priority priority cir-parent-priority cir-priority-value pir-parent-priority pir-priority-value

undo priority priority cir-parent-priority cir-priority-value pir-parent-priority pir-priority-value

Parameters

Parameter Description Value
priority

Specifies a priority for a user queue scheduler.

The value is an integer ranging from 0 to 3. A smaller value indicates a higher priority.

cir-parent-priority cir-priority-value

Specifies a CIR traffic scheduling priority for the parent scheduler.

The value is an integer ranging from 0 to 3. A smaller value indicates a higher priority.

pir-parent-priority pir-priority-value

Specifies a PIR traffic scheduling priority for the parent scheduler.

The value is an integer ranging from 0 to 3. A smaller value indicates a higher priority.

Views

User queue template

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

A user queue profile is used to configure scheduling modes, priority, weights, shaping values, and precision compensation values for four user queue schedulers, so that the user queue schedulers can process traffic differently.

To set scheduling priorities for a user queue scheduler with a specified priority, run the priority cir-parent-priority command.

Example

# Set CIR and PIR traffic scheduling priorities of the parent scheduler to 1 and 2 respectively for a user queue in a user queue profile named test.
<HUAWEI> system-view
[~HUAWEI] user-queue test
[*HUAWEI-user-queue-template-test] priority 0 cir-parent-priority 1 pir-parent-priority 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >