11. Service Egress Policies for 7210 SAS-Mxp

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

Note:

Service egress policies are supported only on 7210 SAS-Mxp. It is not supported on 7210 SAS-M, 7210 SAS-T, and 7210 SAS-Sx/S 1/10GE devices.

11.1. Overview

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 remark policy.

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

11.1.1. Basic Configurations

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

  1. Disable port-scheduler mode using the command config>system>res-prof>qos> no port-scheduler-mode.
  2. Ensure resources are available for use by SAP egress queues in the ingress-internal-tcam resources pool using the command config>system> resource-profile>ingress-internal-tcam> qos-sap-egress-resource.

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.

11.1.2. Create a SAP Egress Policy

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

  1. A SAP Egress policy name.
  2. Provide a brief description of the policy features.
  3. Provide 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 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

11.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. Over write the original policy