14.3. Queue Management Policy Command Reference

14.3.1. Command Hierarchies

14.3.1.1. Configuration Commands

config
— qos
queue-mgmt name [create]
— no queue-mgmt name
description description-string
— no description
cbs size-in-kbytes
— no cbs
mbs size-in-kbytes
— no mbs
[no] high-slope
max-avg percent
— no max-avg
max-prob percent
— no max-prob
[no] shutdown
start-avg percent
— no start-avg
[no] low-slope
max-avg percent
— no max-avg
max-prob percent
— no max-prob
[no] shutdown
start-avg percent
— no start-avg
scope {exclusive | template}
— no scope

14.3.1.2. Operational Commands

config
— qos
copy queue-mgmt src-name dst-name [overwrite]

14.3.1.3. Show Commands

show
— qos
queue-mgmt [name] [detail]

14.3.2. Command Descriptions

14.3.2.1. Configuration Commands

14.3.2.1.1. Generic Commands

description

Syntax 
description description-string
no description
Context 
config>qos>queue-mgmt
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates a text description stored in the configuration file for a configuration context.

The description command associates a text string with a configuration context to help identify the context in the configuration file.

The no form of this command removes any description string from the context.

Parameters 
description-string—
Specifies a text string describing the entity. Allowed values are any string up to 80 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

14.3.2.1.2. Queue Management Policy QoS Commands

cbs

Syntax 
cbs size-in-kbytes
no cbs
Context 
config>qos>queue-mgmt
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the CBS value. The CBS is the minimum depth of the queue.

The no form of this command reverts to the default value.

Parameters 
size-in-kbytes —
Specifies the minimum depth of the queue, in kilobytes.
Values—
0 to 145000, default

 

high-slope

Syntax 
[no] high-slope
Context 
config>qos>queue-mgmt
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the in-profile WRED slope parameters.

The no form of this command reverts the high-slope configuration commands to the default values.

low-slope

Syntax 
[no] low-slope
Context 
config>qos>queue-mgmt
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the out-of-profile WRED slope parameters.

The no form of this command revert the low-slope configuration commands to the default values.

mbs

Syntax 
mbs size-in-kbytes
no mbs
Context 
config>qos>queue-mgmt
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the MBS value. The MBS is the maximum depth of the queue.

The no form of this command reverts to the default value.

Parameters 
size-in-kbytes —
Specifies the minimum depth of the queue in kilo bytes.
Values—
0 to 145000, default

 

queue-mgmt

Syntax 
queue-mgmt name [create]
no queue-mgmt name
Context 
config>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure a QoS queue management policy. A set of profiles and templates are available in hardware for configuring queue parameters, such as CBS, MBS, and WRED slope parameters per queue. These profiles are available for use with multiple queues on the system. Queue management policies allow the user to define the queue parameters and allow for sharing among the queues.

The no form of this command reverts to the default value.

Parameters 
name—
Specifies the name of the queue management policy. Valid names consist of any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.
create—
Keyword used to create a QoS queue management policy.

time-average-factor

Syntax 
time-average-factor value
no time-average-factor
Context 
config>qos>queue-mgmt
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the time-average factor.

The value specified for the TAF affects the speed at which the shared buffer average utilization tracks the instantaneous shared buffer utilization. A low value weights the new shared buffer average utilization calculation more to the shared buffer instantaneous utilization, where a value of zero means the shared buffer instantaneous utilization is used exclusively. A high value weights the new shared buffer average utilization calculation more to the previous shared buffer average utilization value.

The no form of the command reverts to the default value.

Default 

7

Parameters 
value —
Specifies the TAF, expressed as a decimal integer.
Values—
0 to 15

 

scope

Syntax 
scope {exclusive | template}
no scope
Context 
config>qos>queue-mgmt
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the scope as exclusive or template.

The no form of this command reverts the scope of the policy to the default.

Default 

template

Parameters 
exclusive—
Specifies that the policy can be applied to only one interface. 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 becomes available for assignment to another exclusive interface.
template—
Specifies that the policy can be applied to multiple interface ports on the router. Default QoS policies are configured with the template scope. An error is generated if you try to modify the scope parameter from template to exclusive scope on default policies.

14.3.2.1.3. WRED Slope Commands

max-avg

Syntax 
max-avg percent
no max-avg
Context 
config>qos>queue-mgmt>high-slope
config>qos>queue-mgmt>low-slope
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the maximum average value.

The no form of this command reverts to the default value.

Default 

max-avg 90 — high slope default is 90% buffer utilization

max-avg 75 — low slope default is 75% buffer utilization

Parameters 
percent—
Specifies the maximum average for the high or low slopes.
Values—
0 to 100

 

max-prob

Syntax 
max-prob percent
no max-prob
Context 
config>qos>queue-mgmt>high-slope
config>qos>queue-mgmt>low-slope
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the maximum probability value.

The no form of this command reverts to the default value.

Default 

max-avg 75 — high slope default is 75% maximum drop probability corresponding to max-avg

max-avg 75 — low slope default is 75% maximum drop probability corresponding to max-avg

Parameters 
percent—
Specifies the maximum probability for the high or low slopes.
Values—
1 to 99

 

shutdown

Syntax 
[no] shutdown
Context 
config>qos>queue-mgmt>high-slope
config>qos>queue-mgmt>low-slope
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables or disables the administrative status of the WRED slope.

By default, all slopes are shut down and have to be explicitly enabled (no shutdown), which implies a zero drop probability.

The no form of this command administratively enables the WRED slope.

Default 

shutdown

start-avg

Syntax 
start-avg percent
no start-avg
Context 
config>qos>queue-mgmt>high-slope
config>qos>queue-mgmt>low-slope
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the starting average value.

The no form of this command reverts to the default value.

Default 

max-avg 70 — high slope default is 70% buffer utilization

max-avg 50 — low slope default is 50% buffer utilization

Parameters 
percent—
Specifies the starting average for the high or low slopes.
Values—
0 to 100

 

14.3.2.2. Operational Commands

copy

Syntax 
copy queue-mgmt src-name dst-name [overwrite]
Context 
config>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command copies the existing queue management policy entries to another queue management policy.

The copy command is a configuration level maintenance tool used to create new policies using existing policies. It also allows bulk modifications to an existing policy with the use of the overwrite keyword.

Parameters 
src-name—
Specifies the name of the source policy, up to 32 characters.
dst-name—
Specifies the name of the destination policy, up to 32 characters.
overwrite—
Specifies that the information in the destination policy is overwritten by the information in the source policy.

14.3.2.3. Show Commands

queue-mgmt

Syntax 
queue-mgmt [name] [detail]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays queue management policy information.

Parameters 
name—
Specifies the name of the queue management policy.
detail—
Displays detailed information about the queue management policy.
Output 

The following output is an example of queue management policy information, and Table 47 describes the output fields.

Sample Output
*A:SAS>config>qos>queue-mgmt# show qos queue-mgmt 20 detail 
 
===============================================================================
QoS Queue Management Policy
===============================================================================
Policy         : 20                           
Description    : (Not Specified)
CBS            : 1                            MBS          : 10
Time Avg       : 7                            
 
-------------------------------------------------------------------------------
High Slope Parameters
-------------------------------------------------------------------------------
Start Avg      : 70                           Admin State  : Disabled
Max Avg        : 90                           Max Prob.    : 75
 
-------------------------------------------------------------------------------
Low Slope Parameters
-------------------------------------------------------------------------------
Start Avg      : 50                           Admin State  : Disabled
Max Avg        : 75                           Max Prob.    : 75
 
-------------------------------------------------------------------------------
Associations                          
-------------------------------------------------------------------------------
SAP Egress
-------------------------------------------------------------------------------
SAP Egress Policy Id          : 200
Queue Ids                     : 1, 2, 3, 4, 5, 6, 7, 8
-------------------------------------------------------------------------------
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
No Associations Found.
 
-------------------------------------------------------------------------------
 
-------------------------------------------------------------------------------
Network Queues
-------------------------------------------------------------------------------
No Network Queue Policy Associations found.
-------------------------------------------------------------------------------
Table 47:  Output Fields: Queue Management Policy 

Label

Description

Policy

The ID that uniquely identifies the policy

Description

A string that identifies the policy context in the configuration file

Time Avg

The weighting between the previous shared buffer average utilization result and the new shared buffer utilization

CBS

Displays the committed burst size

MBS

Displays the maximum burst size

Slope Parameters

Start Avg

Specifies the low-priority or high-priority RED slope position for the shared buffer average utilization value where the packet discard probability starts to increase above zero

Max Avg

Specifies the percentage of the shared buffer space for the buffer pool at which point the drop probability becomes 1, expressed as a decimal integer

Admin State

Up — The administrative status of the RED slope is enabled

Down — The administrative status of the RED slope is disabled

Specifies the low-priority or high-priority RED slope position for the maximum non-one packet discard probability value before the packet discard probability rises directly to one

Max Prob.

Specifies the high-priority RED slope position for the maximum non-one-packet discard probability value before the packet discard probability rises directly to one

Associations

SAP Egress Policy Id

Displays the SAP-egress policy ID

Queue Ids

Displays the queue IDs