QoS Queue Group Template Command Reference
456 Quality of Service Guide
The rate command can be executed at anytime, altering the PIR and CIR rates for all queues created
through the association of the SAP egress QoS policy with the queue-id or policer-id.
The no form of the command returns all queues or policer created with the queue-id or policer-id by
association with the QoS policy to the default PIR and CIR parameters (max, 0).
Parameters rate max cir 0 — The max default specifies the amount of bandwidth in kilobits per second
(thousand bits per second). The max value is mutually exclusive to the pir-rate value.
pir-rate — Defines the administrative PIR rate, in kilobits, for the queue or policer. When the rate
command is executed, a valid PIR setting must be explicitly defined. When the rate command
has not been executed, the default PIR of max is assumed. When max is specified, the
maximum policer rate used will be equal to the maximum capacity of the card on which the
policer is configured. If the policer rate is set to a value larger than the maximum rate possible
for the card, then the PIR used is equivalent to max. Fractional values are not allowed and
must be given as a positive integer.
The actual PIR rate is dependent on the queue’s adaptation-rule parameters and the actual
hardware where the queue or policer is provisioned.
Values Queue: [1 to 2000000000 | max] Kbps
Values Policer:[1 to 2000000000 | max] Kbps
Default max
cir-rate — The cir parameter overrides the default administrative CIR used by the queue or
policer. When the rate command is executed, a CIR setting is optional. When the rate
command has not been executed or the cir parameter is not explicitly specified, the default
CIR (0) is assumed.
Fractional values are not allowed and must be given as a positive integer. When max is
specified, the maximum policer rate used will be equal to the maximum capacity of the card
on which the policer is configured. If the policer rate is set to a value larger than the maximum
rate possible for the card then the CIR used is equivalent to max.
Values Queue: [0 to 2000000000 | max] Kbps
Policer:[0 to 2000000000 | max] Kbps
Default 0
packet-byte-offset
Syntax packet-byte-offset {add bytes | subtract bytes}
no packet-byte-offset
Context config>qos>queue-group-templates>egress>queue-group>queue
Description This command is used to modify the size of each packet handled by the queue by adding or subtracting
a number of bytes. The actual packet size is not modified; only the size used to determine the bucket
depth impact is changed.