12. Service egress policies on 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

This section provides information to configure Service egress QoS policies using the command line interface.

Note:

Service egress policies are supported only on the 7210 SAS-Mxp, 7210 SAS-R6 IMM-b, and 7210 SAS-R12 IMM-b. It is not supported on the 7210 SAS-R6 IMM-c, 7210 SAS-R12 IMM-c, 7210 SAS-T, and 7210 SAS-Sx/S 1/10GE devices.

12.1. Overview

Note:

On the 7210 SAS-R6 and 7210 SAS-R12, only unicast traffic sent out of RVPLS SAPs uses per-SAP egress queues. BUM traffic sent out of RVPLS SAPs uses per-port egress queues.

The Service Egress policy defines the Service Level Agreement (SLA) for service packets as they egress on the access SAP. Service Egress QoS policies allow the definition of queue parameters along with a remark policy.

Service Egress Qos policies are available for use only when per SAP egress queues (SAP-based queuing mode) are used. It is not available when port-based queuing mode (that is, with per access port egress queues) is in use.

Note:

The 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12, on port egress, use either port-based egress queuing and shaping or SAP-based egress queuing and shaping for all SAPs configured on the port. The config system global-resource-profile qos port-scheduler-mode command on the 7210 SAS-R6 and 7210 SAS-R12 and the config system resource-profile qos port-scheduler-mode command on the 7210 SAS-Mxp allows the user to select the mode for all SAPs configured on either access ports or hybrid ports. When port-scheduler-mode is enabled, the software allocates eight egress queues per port (access port or hybrid port). See Schedulers on 7210 SAS-R6 and 7210 SAS-R12 for more information. When port-scheduler-mode is disabled, the software allocates eight egress queues per SAP, which are configured using service egress policies.

12.1.1. Basic configurations

To use per SAP service egress policies, the following must be configured:

  1. Disable port-scheduler mode using the config system res-prof qos no port-scheduler-mode command on the 7210 SAS-Mxp, and config system global-res-prof no port-scheduler-mode on the 7210 SAS-R6 and 7210 SAS-R12.
  2. Ensure resources are available for use by SAP egress queues in the ingress-internal-tcam resources pool using the config system resource-profile ingress-internal-tcam qos-sap-egress-resource command.

A basic service egress QoS policy must conform to the following:

  1. have a unique service egress QoS policy ID
  2. have a QoS policy scope of template or exclusive
  3. have at least one forwarding class queue

12.1.2. Create a SAP egress policy

To create a new SAP Egress policy, define the following:

  1. a SAP Egress policy name
  2. a brief description of the policy features
  3. the queue parameters for all the queues

Use the following syntax to configure a SAP Egress policy.

CLI Syntax:
A:Dut-A>config>qos# sap-egress
  - no sap-egress <policy-id>
  - sap-egress <policy-id> [create]
 <policy-id>          : [1..65535]|<name:64 char max>
 <create>             : keyword - mandatory while creating an entry.
 [no] description     - Description for this sap-egress policy
 [no] queue           + Configure a queue
 [no] remark          - Specify Remarking policy for this policy
 [no] remarking       - Enable/disable remarking
 [no] scope           - Specify scope of the policy

The following is a sample SAP Egress policy configuration output for the 7210 SAS-Mxp.

 
*A:sim_dutc>config>qos>sap-egress# info detail
----------------------------------------------
            description "Default SAP egress QoS policy."
            scope template
            no remarking
            remark 2
            queue 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
                queue-mode weighted
                weight 1
            exit
            queue 2
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
                queue-mode weighted
                weight 1
            exit
            queue 3
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
                queue-mode weighted
                weight 1
            exit
            queue 4
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
                queue-mode weighted
                weight 1
            exit
            queue 5
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
                queue-mode weighted
                weight 1
            exit
----------------------------------------------
A:Dut-B>config>qos>sap-egress#

The following is a sample SAP Egress configuration output for the 7210 SAS-R6 and 7210 SAS-R12.

*A:SAS>config>qos>sap-egress# info detail 
----------------------------------------------
            description "Default SAP egress QoS policy."
            scope template
            no remarking 
            remark 2
            queue 1 
                port-parent cir-level 1 pir-weight 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
            exit
            queue 2 
                port-parent cir-level 1 pir-weight 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
            exit
            queue 3 
                port-parent cir-level 1 pir-weight 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"  
            exit
            queue 4 
                port-parent cir-level 1 pir-weight 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
            exit
            queue 5 
                port-parent cir-level 1 pir-weight 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
            exit
            queue 6 
                port-parent cir-level 1 pir-weight 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
            exit
            queue 7 
                port-parent cir-level 1 pir-weight 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
            exit
            queue 8 
                port-parent cir-level 1 pir-weight 1
                adaptation-rule pir closest cir closest
                rate cir 0 pir max
                queue-mgmt "default"
            exit
----------------------------------------------
*A:SAS>config>qos>sap-egress#

12.1.3. Editing QoS policies

Existing policies and entries can be edited through the CLI or NMS. The changes are applied immediately to all services where the policy is applicable.

To prevent configuration errors, perform the following:

  1. Copy the policy to a work area.
  2. Edit the policy.
  3. Overwrite the original policy.