pir (cos)

Function

The pir command configures scheduling parameters for flow queues in a flow queue profile in enhanced 8-CoS mode.

The undo pir command deletes the scheduling parameter configurations for flow queues in a flow queue profile in enhanced 8-CoS mode.

By default, no scheduling parameters are configured for flow queues.

Format

pir { { pir-value [ pbs pbs-value ] [ cir cir-value [ cbs cbs-value ] ] } | { percentage pir-percent [ pbs pbs-value ] [ cir percentage cir-percent [ cbs cbs-value ] ] } }

undo pir { { pir-value [ pbs pbs-value ] [ cir cir-value [ cbs cbs-value ] ] } | { percentage pir-percent [ pbs pbs-value ] [ cir percentage cir-percent [ cbs cbs-value ] ] } }

Parameters

Parameter Description Value
pbs pbs-value

Specifies the PBS(Peak Burst Size) value for the flow queue.

The value is an integer that ranges from 1 to 4294967295, byte as unit.

cir cir-value

Specifies the CIR value for the flow queue.

The value is an integer that ranges from 8 to 4294967294, kbit/s as unit.

cbs cbs-value

Specifies the CBS(Committed Burst Size) value for the flow queue.

The value is an integer that ranges from 1 to 4294967295, byte as unit.

percentage pir-percent

Specifies the PIR percent value for the flow queue.

The value is an integer that ranges from 1 to 100.

percentage cir-percent

Specifies the CIR percent value for the flow queue.

The value is an integer that ranges from 1 to 100.

pir pir-value

Specifies the PIR value for the flow queue.

The value is an integer that ranges from 8 to 4294967294k, kbit/s as unit.

Views

cos

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

You can configure scheduling parameters for eight priority flow queues in a flow queue profile in enhanced 8-CoS mode. To set scheduling parameters (including the PIR, CIR, PBS, and CBS) for a specified priority flow queue, run this command. This limits the bandwidth of service flows.

Prerequisites

A flow queue profile in enhanced 8-CoS mode has been configured.

Precautions

Only CR5DNPU48071/CR5DNPU1TM71 boards support a flow queue profile in enhanced 8-CoS mode.

Example

# Set both the PIR and CIR of a flow queue to 1000 kbit/s in the CoS 0 queue priority sub-view.
<HUAWEI> system-view
[~HUAWEI] flow-queue test 8cos-enhance-mode
[*HUAWEI-flow-queue-template-test] cos 0
[*HUAWEI-flow-queue-template-test-cos0] pir 1000 cir 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >