priority pir (user queue template)

Function

The priority pir command configures a rate limit for a user queue scheduler with a specified priority in a user queue profile.

The undo priority pir command deletes the rate limit configurations for a user queue scheduler with a specified priority in a user queue profile.

By default, no rate limit is configured for user queues.

Format

priority priority pir pir-value [ pbs pbs-value ]

undo priority priority pir pir-value [ pbs pbs-value ]

Parameters

Parameter Description Value
priority

Specifies a priority for a user queue scheduler.

The value is an integer ranging from 0 to 2.

pir pir-value

Specifies a PIR for a user queue.

The value is an integer ranging from 0 to 4294967295, in kbit/s.

pbs pbs-value

Specifies a PBS for a user queue.

The value is an integer ranging from 1 to 4294967295, in bytes.

Views

User queue template

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

In a user queue profile, you can configure scheduling parameters such as scheduling modes, scheduling priorities, scheduling weights, and shaping values for four user queue schedulers, so that the user queue schedulers can process traffic differently. To set a PIR and PBS for a user queue scheduler with a specified priority, run this command.

Example

# Set the PIR and PBS to 1000 kbit/s and 500 bytes respectively for a user queue scheduler with the priority of 1 in a user queue profile named test.
<HUAWEI> system-view
[~HUAWEI] user-queue test
[*HUAWEI-user-queue-template-test] priority 1 pir 1000 pbs 500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >