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>non-tcp-slope (supported only on 7210 SAS-D devices)

Platforms

7210 SAS-D, 7210 SAS-Dxp

Description

This command configures the low priority or high priority or non-tcp 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 value 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 startavg. If the entered value is smaller than the current value of start-avg, an error will occur and no change will take 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>non-tcp-slope (supported only on 7210 SAS-D devices)

Platforms

7210 SAS-D, 7210 SAS-Dxp

Description

This command sets 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. 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 setting.

Default

max-prob 75

Parameters

percent

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

Values

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 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

Platforms

7210 SAS-D, 7210 SAS-Dxp

Description

This command enables or disables the administrative status of the RED 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>non-tcp-slope (supported only on 7210 SAS-D)

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command sets 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. 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.

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 will occur and no change will take place.

Values

0 to 100