Service Egress and Ingress QoS Policies
318
Quality of Service Guide
3HE 11014 AAAC TQZZA Edition: 01
6.4.2.1.9 Service Queue QoS Policy Commands
adaptation-rule
Syntax adaptation-rule [pir adaptation-rule] [cir adaptation-rule]
no adaptation-rule
Context config>qos>sap-ingress>queue
config>qos>sap-egress>queue
Description This command can be used to define how an operational rate is selected based on the
configured PIR or CIR rate. Operational rates are the finite set of rates at which the
schedulers on the network processor can operate.
The no form of the command removes any adaptation-rule constraints used to derive the
operational rates for the policy. When a specific adaptation-rule is removed, the default
constraints for rate and cir apply.
Default pir closest cir closest
Parameters pir — pir defines the constraints enforced when adapting the PIR rate defined within the
queue queue-id rate command. The pir keyword requires a qualifier that defines the
constraint used when deriving the operational PIR rate for the queue. When the rate
command is not specified, the default applies.
cir — cir defines the constraints enforced when adapting the CIR rate defined within the
queue queue-id rate command. The cir keyword requires a qualifier that defines the
constraint used when deriving the operational CIR rate for the queue. When the cir
keyword is not specified, the default constraint applies.
adaptation-rule — specifies the constraints to be used while computing the operational
CIR or PIR rate. The max (maximum), min (minimum), and closest parameters are
mutually exclusive.
Values max — causes the network processor to be programmed at an
operational rate that is less than the configured PIR or CIR rate by
up to 1.0%. For a network processor on a Gen-3 adapter card or
platform, the average difference between the operational and the
configured CIR rate is 2.0% (for frame sizes less than 2049 bytes)
or 4.0% (for other frame sizes).
min — causes the network processor to be programmed at an
operational rate that is greater than the configured PIR or CIR rate
by up to 1.0%. For a network processor on a Gen-3 adapter card or
platform, the average difference between the operational and the
configured CIR rate is 2.0% (for frame sizes less than 2049 bytes)
or 4.0% (for other frame sizes).
closest — causes the network processor to be programmed at an
operational rate that is closest to the configured PIR or CIR rate