sap-egress policy-id [create]
config>qos
Supported on all 7210 SAS platforms as described in this document
This command configures a SAP egress policy. The SAP egress policy determines the QoS treatment to packets at service egress.
When the policy is created, by default only one queue is created. The user can create up to 8 queues and associate it to different FCs on the SAPs to which this SAP egress policy is attached. The SAP egress policy allows the user to define the queue parameters for the eight queues.
sap-egress 1
Specifies the SAP egress policy.
dot1p-classification policy-id
no dot1p-classification
config>qos>sap-egress
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command associates a dot1p classification policy, which contains entries used to map traffic sent on an access SAP to an FC and profile state, based on the dot1p bits in the packet.
When the dot1p classification policy is defined in a service egress QoS policy and associated with an access SAP egress, a packet sent out of the SAP is used to match with the dot1p values defined in this policy. If a match is found, the corresponding FC and profile are assigned to the packet.
The FC and profile assigned by the dot1p entry match can be overridden by an IP precedence match or IP DSCP match. See Egress SAP FC and profile overrides for more information about the match hierarchy.
The no form of this command disables the use of the dot1p classification policy.
no dot1p-classification
Specifies the policy ID.
dscp-classification
no dscp-classification
config>qos>sap-egress
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command associates an IP DSCP classification policy, which contains entries used to map traffic sent on a SAP to an FC and profile state, based on the IP DSCP bits in the packet.
When the DSCP classification policy is defined in a service egress QoS policy and associated with an access SAP egress, a packet sent out of the SAP is used to match with the IP DSCP values defined in this policy. If a match is found, the corresponding FC and profile are assigned to the packet.
The FC and profile assigned by the dot1p entry match or IP precedence entry match can be overridden by an IP DSCP match. See Egress SAP FC and profile overrides for more information about the match hierarchy.
The no form of this command disables the use of the DSCP classification policy.
no dscp-classification
Specifies the policy ID.
fc fc-name [create]
no fc fc-name
config>qos>sap-egress
Supported on all 7210 SAS platforms as described in this document
This command creates a class instance of the forwarding class name. When the fc-name is created, classification actions can be applied and can be used in match classification criteria.
The no form of this command removes all the explicit queue mappings for fc-name forwarding types. The queue mappings revert to the default meters for fc-name.
Specifies the forwarding class name for the queue.
Creates a forwarding class.
ip-prec-classification policy-id
no ip-prec-classification
config>qos>sap-egress
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command associates an IP DSCP classification policy with IP precedence entries used to map traffic sent out of a SAP to an FC and profile state based on the IP precedence bits in the packet.
When it is defined in a service egress QoS policy and associated with an access SAP egress, a packet sent out of the SAP is used to match with the IP precedence values defined in this policy. If a match is found, the corresponding FC and profile are assigned to the packet.
The FC and profile assigned by the dot1p entry match can be overridden by an IP precedence match, and the FC and profile assigned by the IP precedence match can be overridden by an IP DSCP match. See Egress SAP FC and profile overrides for more information about the match hierarchy.
The no form of this command disables the use of the DSCP classification policy and IP precedence values.
no ip-prec-classification
Specifies the policy ID.
queue queue-id [create]
no queue queue-id
config>qos>sap-egress
Supported on all 7210 SAS platforms as described in this document
This command creates a queue and modifies queue parameters associated with a particular queue. The queue ID to FC map is user-defined.
The 7210 SAS-K 2F1C2T and 7210 SAS-K 2F6C4T support two, four, six, or eight queues per SAP.
The 7210 SAS-K 3SFP+ 8C supports four or eight queues per SAP.
The no form of this command deletes the queue.
Specifies the ID of the queue.
Creates a network queue policy.
adaptation-rule [cir adaptation-rule] [pir adaptation-rule]
no adaptation-rule
config>qos>sap-egress>queue
Supported on all 7210 SAS platforms as described in this document
This command defines the method used by the system to derive the operational CIR and PIR rates when the queue is provisioned in hardware. For the cir and pir parameters, the system attempts to find the best operational rate depending on the defined constraint.
The no form of this 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 cir and pir apply.
adaptation-rule pir closest cir closest
Specifies the adaptation rule and defines the constraints enforced when adapting the CIR rate defined using the queue queue-id rate command. The cir parameter requires a qualifier that defines the constraint used to derive the operational CIR rate for the queue. When the cir parameter is not specified, the default constraint applies. The max (maximum), min (minimum), and closest qualifiers are mutually exclusive.
Specifies the adaptation rule and defines the constraints enforced when adapting the PIR rate defined using the queue queue-id rate command. The pir parameter requires a qualifier that defines the constraint used when deriving the operational PIR rate for the queue. When the pir command is not specified, the default constraint applies. The max (maximum), min (minimum), and closest qualifiers are mutually exclusive.
[no] cbs size-in-kbytes
config>qos>sap-egress>queue
Supported on all 7210 SAS platforms as described in this document
This command specifies the CBS value (minimum depth of the queue).
The no form of this command reverts to the default value.
32
Specifies the CBS value, in kilobytes
[no] mbs size-in-kbytes
config>qos>sap-egress>queue
Supported on all 7210 SAS platforms as described in this document
This command specifies the MBS value (maximum depth of the queue).
The no form of this command reverts to the default value.
512
Specifies the MBS value, in kilobytes.
priority level
no priority
config>qos>sap-egress>queue
Supported on all 7210 SAS platforms as described in this document
This command defines the queue priority. The queue priority is used by the scheduler to determine the order of service in both the within-cir loop and within-pir loop. Higher priority queues are serviced before lower priority queues.
The no form of this command reverts the level to the default.
1
Specifies the priority of the queue.
slope-policy name
no slope-policy
config>qos>sap-egress>queue
Supported on all 7210 SAS platforms as described in this document
This command is used to override the default slope policy configuration for the queue. The specified slope policy name must exist as a current slope policy name. If the slope policy does not exist, the slope-policy command fails. If a slope policy is currently associated with a queue, the slope policy cannot be removed from the system.
The slope policy contains the ring and non-ring high and low WRED slope definitions that are used by the queue. See Buffer pools for more information about ring and non-ring buffer pools and slope usage.
If the slope-policy command is not executed or the no slope-policy command is executed, the default slope policy will be associated with the queue.
The no form of this command reverts the queue to the default slope policy.
Specifies an existing slope policy name, up to 32 characters.
rate cir cir-rate-in-kbps [pir pir-rate-in-kbps]
no rate
config>qos>sap-egress>queue
Supported on all 7210 SAS platforms as described in this document
This command defines the administrative PIR and the administrative CIR parameters for the queue. The PIR defines the maximum rate that the queue can transmit packets through the port. Defining a PIR does not necessarily guarantee that the queue can transmit at the intended rate. The actual rate sustained by the queue can be limited by oversubscription factors or available egress bandwidth. The CIR defines the rate at which the system prioritizes the queue over other queues competing for the same bandwidth.
The rate command can be executed at anytime, altering the PIR and CIR rates for all queues created on the access ports.
The max default specifies the amount of bandwidth in kilobits per second. The max value is mutually exclusive to the pir-rate-in-kbps value.
The no form of this command reverts all queues created with the queue ID by association with the QoS policy to the default PIR(max) and CIR(0) parameters.
rate cir 0 pir max
Specifies the administrative CIR rate, in kilobits per second. The cir parameter overrides the default administrative CIR used by the queue.
Specifies the administrative PIR rate, in kilobits per second. When the rate command is executed, a PIR setting is optional.
weight weight
no weight
config>qos>sap-egress>queue
Supported on all 7210 SAS platforms as described in this document
This command configures the weight of the queue.
The configured weight determines the proportion of available bandwidth that is given to this queue in comparison to other queues contending for bandwidth at the same priority level.
The no form of this command reverts the weight to the default.
1
Specifies the weight of the queue.
scope {exclusive | template}
no scope
config>qos>sap-egress
Supported on all 7210 SAS platforms as described in this document
This command configures the scope as exclusive or template. The scope of the policy cannot be changed if the policy is applied to multiple interface ports.
The no form of this command reverts the scope of the policy to the default.
template
Specifies that the policy can only be applied to one interface port. If a policy with an exclusive scope is assigned to a second interface, an error message is generated. If the policy is removed from the exclusive interface, it will become available for assignment to another exclusive interface. The system default policies cannot be put into the exclusive scope. An error is generated if scope exclusive is executed in any policies with a policy ID equal to 1.
Specifies that the policy can be applied to multiple interface ports on the router. Default QoS policies are configured with a template scope. An error is generated when scope template is changed to scope exclusive for default policies.