16. Queue Management Policies

Note:

This chapter is applicable only to the 7210 SAS-Mxp.

This section provides information to configure queue management policies using the command line interface.

16.1. Overview

A set of profiles or templates are available in hardware for configuring the queue parameters such as CBS, MBS, and WRED slopes parameters per queue. These profiles are available for use with multiple queues of the system. Queue management policy allows the user to define the queue parameters and allow sharing among the queues.

A single system buffer pool is available for use by all the queues in the system. Users can allocate the amount of buffers that each queue can use by specifying the CBS and MBS parameters in the queue management policy.

Weighted Random Early Detection (WRED) is available to manage buffers during periods of congestion. WRED slopes are supported for each queue in the system. The Queue Management Policies allow the user to configure slope parameters that dictate a WRED profile for each queue. Each queue supports two slopes:

  1. Slope for in-profile or high priority traffic.
  2. Slope for out-of-profile or low priority traffic.

Each slope allows specifying the start-average, the max-average, the drop-probability and the Time Average Factor (TAF). Each queue has a default slope policy. Multiple queues in the system can share a single policy. If a policy is shared the system computes the WRED drop probabilities for each of the queues separately based on their average queue length.

16.1.1. Basic Configurations

A basic queue management policy must confirm to the following:

  1. Each slope policy must have a unique policy ID.
  2. High slope and low slope are shut down by default.
  3. Default values can be modified but parameters cannot be deleted.

16.1.2. Service Management Tasks

16.1.2.1. Creating a Queue Management Policy

To create a new queue management policy, define the following:

  1. A queue management policy name.
  2. Provide a brief description of the policy features.
  3. Provide CBS and MBS values for default queue management policy.
  4. The high slope for the high priority WRED slope graph.
  5. The low slope for the low priority WRED slope graph.
  6. The time average factor (TAF).
  7. Slope parameters such as max-avg, start-avg, max-prob, time-average-factor have default values.

Use the following CLI syntax to configure a queue management policy:

CLI Syntax:
config>qos
queue-mgmt name
description description-string
cbs kbytes
mbs kbytes
high-slope
start-avg percent
max-avg percent
max-prob percent
no shutdown
low-slope
start-avg percent
max-avg percent
max-prob percent
no shutdown
time-average-factor taf

The following output displays the queue management policy configuration:

A:7210>config>qos>queue-mgmt# info 
     
      ----------------------------------------------
                high-slope
                    shutdown
                    start-avg 40
                    max-avg 50
                exit
                low-slope
                    shutdown
                    start-avg 40
                    max-avg 80
                exit
            cbs 5000
            mbs 800000
       time-average-factor 7
       ----------------------------------------------

16.1.2.2. 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.