The pir command sets scheduling parameters for user queues in a user queue profile.
The undo pir command deletes the scheduling parameter configurations for user queues in a user queue profile.
By default, no user queue scheduling parameters is created.
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 ] ] }
Parameter | Description | Value |
---|---|---|
pbs pbs-value |
Specifies the PBS(Peak Burst Size) value for the user queue. |
The value is an integer that ranges from 1 to 4194304, byte as unit. |
cir cir-value |
Specifies the CIR value for the user queue. |
The value is 0 or an integer ranging from 16 to 4294967294, kbit/s as unit. |
cbs cbs-value |
Specifies the CBS(Committed Burst Size) value for the user queue. |
The value is an integer that ranges from 1 to 4194304, byte as unit. |
percentage pir-percent |
Specifies the PIR percent value for the user queue. |
The value is an integer that ranges from 0 to 100. |
percentage cir-percent |
Specifies the CIR percent value for the user queue. |
The value is an integer that ranges from 0 to 100. |
pir pir-value |
Specifies the PIR value for the user queue. |
The value is 0 or an integer ranging from 16 to 4294967294, kbit/s as unit. |
Usage Scenario
To limit service traffic based on the PIR, CIR, or CBS of a user queue, configure scheduling parameters in a user queue profile. After the configuration is complete, the user queue needs to be bound to a QoS profile, implementing HQoS traffic control based on the QoS profile.