qos red-profile

Configures a weighted random early detection (WRED) profile which includes the setting of the thresholds and drop probability by percentage.

Syntax

qos red-profile profile-ID min-threshold min-percentage max-threshold max-percentage drop-probability percentage
no qos red-profile profile-ID

Parameters

profile-ID
Specifies the profile identifier. Enter an integer from 0 to 383.
min-threshold min-percentage
Specifies the minimum average queue size in percentage for randomly dropping packets. Enter an integer from 0 through 100.
max-threshold max-percentage
Specifies the maximum average queue size in percentage which all packets are accepted by the device. Enter an integer from 0 through 100.
drop-probability percentage
Specifies the drop probability in percentage when the queue size is at the maximum. Enter an integer from 0 through 100.

Modes

Global configuration mode

Usage Guidelines

You can configure a maximum on 256 profiles.

After configuring the profile, apply it to an interface with the qos random-detect traffic-class command.

Use the no form of this command to delete the profile.

Examples

The following example is a WRED configuration.

device# configure terminal
device(config)# qos red-profile 1 min-threshold 30 max-threshold 60 drop-probability 44