WRED/RED Slope Commands

max-avg

Syntax

max-avg percent

no max-avg

Context

config>qos>slope-policy>high-slope

config>qos>slope-policy>low-slope

Description

This command sets the low-priority or high-priority WRED or RED slope position for the queue average usage value where the packet discard probability rises directly to one (maxThreshold or maxT). The percent parameter is expressed as a percentage of the maximum queue depth (buffer-based WRED) or a percentage of maximum payload of the queue (payload-based WRED).

The no form of this command restores the max-avg value to the default setting. If the current start-avg setting is larger than the default, an error will occur and the max-avg setting will not be changed to the default.

Default

max-avg 90 (the high slope default is 90% queue usage before discard probability is 1)

max-avg 75 (the low slope default is 75% queue usage before discard probability is 1)

Parameters

percent

the percentage of the maximum queue depth at which point the drop probability becomes 1. The value entered must be greater than or equal to the current setting of start-avg. 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>high-slope

config>qos>slope-policy>low-slope

Description

This command sets the high-priority or low-priority WRED/RED maximum discard probability (maxDP) at slope position max-avg. 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 80 represents 80% of 1, or a packet discard probability of 0.8.

For bridging domain queues on the 2-port 10GigE (Ethernet) Adapter card and 2-port 10GigE (Ethernet) module, the queues support the following DP (discard probability) values: 0%, 1%, 2%, 3%, 4%, 5%, 6%, 7%, 8%, 9%, 10%, 25%, 50%, 75%, and 100%. User-configured values are rounded down to match these DP values.

For example, configuring a DP to be 74% means that the actual value used is 50%.

The no form of this command restores the max-prob value to the default setting.

Default

max-prob 80 (80% maximum drop probability corresponding to the max-avg)

Parameters

percent

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

Values

0 to 100

shutdown

Syntax

[no] shutdown

Context

config>qos>slope-policy>high-slope

config>qos>slope-policy>low-slope

Description

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

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

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

Default

shutdown (the WRED/RED slope disabled, implying a zero (0) drop probability)

start-avg

Syntax

start-avg percent

no start-avg

Context

config>qos>slope-policy>high-slope

config>qos>slope-policy>low-slope

Description

This command sets the high-priority or low-priority WRED/RED slope position for the queue average usage value where the packet discard probability starts to increase above zero (minThreshold or minT). The percent parameter is expressed as a percentage of the maximum queue depth (buffer-based WRED) or a percentage of maximum payload of the queue (payload-based WRED).

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

Parameters

percent

the percentage of the maximum queue depth where the packet discard probability starts to increase above zero

Values

0 to 100

Default

50