RED slope commands

max-avg

Syntax

max-avg percent

no max-avg

Context

config>qos>slope-policy>queue>high-slope

config>qos>slope-policy>queue>low-slope

config>qos>slope-policy>queue>high-slope-ring

config>qos>slope-policy>queue>low-slope-ring

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command sets the low priority or high priority Weighted Random Early Detection (WRED) slope position for the reserved and shared buffer average utilization value where the packet discard probability rises directly to one. The percent parameter is expressed as a percentage of the shared buffer size.

The no form of this command reverts the max-avg value to the default setting. If the current startavg setting is larger than the default, an error occurs and the max-avg value is not changed to the default.

Default

max-avg 90 - High slope default is 90% buffer utilization before discard probability is 1

max-avg 75 - Low slope default is 75% buffer utilization before discard probability is 1

max-avg 75 - Non-tcp slope default is 75% buffer utilization before discard probability is 1

Parameters

percent

Specifies the percentage of the reserved and shared buffer space for the buffer pool at which point the drop probability becomes 1. The value entered must be greater or equal to the current setting of start-avg. If the entered value is smaller than the current value of start-avg, an error occurs and no change takes place.

Values

0 to 100

max-prob

Syntax

max-prob percent

no max-prob

Context

config>qos>slope-policy>queue>high-slope

config>qos>slope-policy>queue>low-slope

config>qos>slope-policy>queue>high-slope-ring

config>qos>slope-policy>queue>low-slope-ring

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command sets the low priority or high priority Random Early Detection (RED) slope position for the maximum non-one packet discard probability value before the packet discard probability rises directly to one. The percent parameter is expressed as a percentage of packet discard probability where always discard is a probability of 1. A max-prob value of 75 represents 75% of 1, or a packet discard probability of 0.75.

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

Default

max-prob 75

Parameters

percent

Specifies the maximum drop probability percentage corresponding to the max-avg, expressed as a decimal integer.

Values

0 to 10, 25, 50, 75, 100

shutdown

Syntax

[no] shutdown

Context

config>qos>slope-policy>high-slope

config>qos>slope-policy>low-slope

config>qos>slope-policy>queue>high-slope-ring

config>qos>slope-policy>queue>low-slope-ring

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables or disables the administrative status of the Random Early Detection slope.

By default, all slopes are shutdown and have to be explicitly enabled (no shutdown).

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

Default

shutdown

start-avg

Syntax

start-avg percent

no start-avg

Context

config>qos>slope-policy>queue>high-slope

config>qos>slope-policy>queue>low-slope

config>qos>slope-policy>queue>high-slope-ring

config>qos>slope-policy>queue>low-slope-ring

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command sets the low priority or high priority Random Early Detection (RED) slope position for the shared buffer average utilization value where the packet discard probability starts to increase above zero. The percent parameter is expressed as a percentage of the shared buffer size.

The no form of this command reverts the value to the default. If the max-avg setting is smaller than the default, an error occurs and the start-avg setting is not changed to the default.

Default

max-avg 70 - High slope default is 70% buffer utilization

max-avg 50 - Low slope default is 50% buffer utilization

max-avg 50 - Non-tcp slope default is 50% buffer utilization

Parameters

percent

Specifies the percentage of the reserved and shared buffer space for the buffer pool at which the drop starts. The value entered must be lesser or equal to the current setting of max-avg. If the entered value is greater than the current value of max-avg, an error occurs and no change takes place.

Values

0 to 100