Queue Sharing and Redirection
Quality of Service Guide 443
Description This command creates a queue for use in a queue group template. Once created, the defined queue-id 
acts as a repository for the default parameters for the queue. The template queue is created on each 
queue-group object which is created with the queue group template name. Each queue is identified 
within the template by a queue-id number. The template ensures that all queue groups created with the 
template name will have the same queue-ids providing a uniform structure for the forwarding class 
redirection commands in the SAP egress QoS policies. The parameters within the template queue will 
be used as the default settings for each queue in the actual queue group. The queue parameters may be 
individually changed for each queue in each queue group using per queue overrides.
The no form of the command 
Default none
adaptation-rule 
Syntax adaptation-rule [pir adaptation-rule] [cir adaptation-rule]
no adaptation-rule
Context config>qos>qgrpid>egr>qgrp>queue
config>qos>qgrpid>ing>qgrp>queue
config>qos>qgrpid>ing>qgrp>policer
Description This command defines the method used by the system to derive the operational CIR and PIR settings 
when the queue is provisioned in hardware. For the CIR and PIR parameters individually, the system 
attempts to find the best operational rate depending on the defined constraint. 
The no form of the command removes any explicitly defined constraints used to derive the operational 
CIR and PIR created by the application of the policy. When a specific adaptation-rule is removed, 
the default constraints for rate and cir apply.
Default adaptation-rule pir closest cir closest
Parameters pir  — Defines the constraints enforced when adapting the PIR rate defined within the queue 
queue-id rate command. The pir parameter requires a qualifier that defines the constraint 
used when deriving the operational PIR for the queue. When the rate command is not 
specified, the default applies.
cir  — Defines the constraints enforced when adapting the CIR rate defined within the queue 
queue-id rate command. The cir parameter requires a qualifier that defines the constraint 
used when deriving the operational CIR for the queue. When the cir parameter is not 
specified, the default constraint applies.
adaptation-rule — Specifies the adaptation rule to be used while computing the operational CIR 
or PIR value. 
Values max — The max (maximum) option is mutually exclusive with 
the min and closest options. When max is defined, the operational 
PIR for the queue will be equal to or less than the administrative 
rate specified using the rate command.