10. Access egress QoS policies on 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE

This section provides information to configure Access Egress QoS policies using the command line interface.

10.1. Overview

An access egress policy defines the queuing for the traffic egressing on the access ports. Access-egress queue policies are used at the Ethernet port and define the bandwidth distribution for the various FC/queue traffic egressing on the Ethernet port.

There is one default access egress policy which is identified as policy ID 1. Each policy has 8 queues available. The Forwarding Class to queue mapping is predefined and cannot be changed. The queue parameters like CIR, PIR, etc. can be modified. The default policy can be copied but they cannot be deleted or modified.

10.1.1. Basic configurations

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

  1. have a unique access egress QoS policy ID
  2. have a QoS policy scope of template or exclusive
  3. queue parameters can be modified, but not deleted

The following is a sample configuration output for 7210 SAS-T in access-uplink mode.

*7210SAS>config>qos>access-egress$ info detail 
----------------------------------------------
            no description
            remarking
            scope template
            queue 1
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 2
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 3
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 4
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 5
                adaptation-rule cir closest pir closest
                rate cir 0 pir max    
            exit
            queue 6
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 7
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 8
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            fc af create
                no de-mark
                no dot1p
                dot1p-in-profile 7
                dot1p-out-profile 4
            exit 
----------------------------------------------

The following is a sample configuration output for 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE in network mode.

*A:01154300003>config>qos>access-egress# info detail 
----------------------------------------------
            no description
            remarking
            remark 200
            scope template
            queue 1
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 2
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 3
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 4
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 5
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 6
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 7
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 8
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
----------------------------------------------

10.1.1.1. Modifying access egress QoS queues

To modify access egress queue parameters specify the following:

  1. queue ID value
    On 7210 SAS-T, 8 Queues are identified and are mapped as defined in Forwarding class to queue-ID map.
    On 7210 SAS-Sx/S 1/10GE and 7210 SAS-Sx 10/100GE, a queue ID in the policy identifies a FC as per the table 32.Forwarding class-to-queue ID map for 7210 SAS-Sx/S 1/10GE and 7210 SAS-Sx 10/100GE. In other words, the rate parameters configured for the FC/queue ID applies to the aggregate rate across both unicast and multicast queue for the FC.
  2. queue parameters
    Egress queues support configuration of CIR and PIR rates.

The following is a sample access egress QoS policy configuration output on 7210 SAS-T access-uplink mode.

*A:SAS-T>config>qos>access-egress>queue$ info       
----------------------------------------------
                adaptation-rule cir max
                rate cir 2000 pir 30000
----------------------------------------------

10.1.1.2. Applying access egress QoS policies

Apply access egress policies to the following entities:

  1. Ethernet ports

A policy can be applied to the ports that are in access mode.

10.1.1.2.1. Ethernet ports

Use the following syntax to apply a access-egress policy to an Ethernet port.

CLI Syntax:
config>port#
ethernet access egress
qos access-egress-policy-id

The following is a sample port configuration output.

*A:card-1>config>port# info
----------------------------------------------
                 shutdown
                    ethernet
                        access
                            egress
                                qos 30
                            exit
                        exit
                    exit
----------------------------------------------
*A:card-1>config>port# 

10.1.1.3. Default access egress QoS policy values

The following are sample default policy parameters.

*A:card-1>config>qos>access-egress# info detail
----------------------------------------------
            description "Default Access egress QoS policy."
            no remarking
            scope template
            queue 1
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 2
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 3
                adaptation-rule cir closest pir closest
                rate 0 pir max
            exit
            queue 4
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 5
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 6
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 7
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
            queue 8
                adaptation-rule cir closest pir closest
                rate cir 0 pir max
            exit
----------------------------------------------
*A:card-1>config>qos>access-egress#

The following table lists the default forwarding class marking values when remarking is enabled on the access egress policy for 7210 SAS devices configured in network mode and access-uplink mode:

Table 67:  Default FC marking values for 7210 SAS-T (access-uplink mode) 

Default FC value

Network mode

Access-uplink mode

af

dot1p-in-profile 2

dot1p-out-profile 2

dscp-in-profile af11

dscp-out-profile af12

dot1p-in-profile 2

dot1p-out-profile 2

be

dot1p-in-profile 0

dot1p-out-profile 0

dscp-in-profile be

dscp-out-profile be

dot1p-in-profile 0

dot1p-out-profile 0

ef

dot1p-in-profile 5

dot1p-out-profile 5

dscp-in-profile ef

dscp-out-profile ef

dot1p-in-profile 5

dot1p-out-profile 5

h1

dot1p-in-profile 6

dot1p-out-profile 6

dscp-in-profile nc1

dscp-out-profile nc1

dot1p-in-profile 6

dot1p-out-profile 6

h2

dot1p-in-profile 4

dot1p-out-profile 4

dscp-in-profile af41

dscp-out-profile af41

dot1p-in-profile 4

dot1p-out-profile 4

l1

dot1p-in-profile 3

dot1p-out-profile 3

dscp-in-profile af21

dscp-out-profile af22

dot1p-in-profile 3

dot1p-out-profile 3

l2

dot1p-in-profile 1

dot1p-out-profile 1

dscp-in-profile cs1

dscp-out-profile cs1

dot1p-in-profile 1

dot1p-out-profile 1

nc

dot1p-in-profile 7

dot1p-out-profile 7

dscp-in-profile nc2

dscp-out-profile nc2

dot1p-in-profile 7

dot1p-out-profile 7

10.1.1.4. Deleting QoS policies

Every access Ethernet port is associated, by default, with the default access egress policy (policy-id 1). You can replace the default policy with a customer-configured policy, but you cannot entirely remove the policy from the port configuration. When you remove a non-default access egress policy, the association reverts to the default policy-id 1.

A QoS policy cannot be deleted until it is removed from all access ports where they are applied.

*A:card-1>config>qos# no access-egress 30
MINOR: CLI Could not remove Access egress policy "30" because it is in use.

10.1.1.5. Removing a policy from the QoS configuration

CLI Syntax:
config>qos# no access-egress policy-id
Example:
config>qos# no access-egress 100
config>qos# no access-egress 1010