qos random-detect traffic-class

Configures Random Early Detect (RED) profile on a traffic class of an interface

Syntax

qos random-detect traffic-class traffic-class drop-precedence value red-profile-id ID
no qos random-detect traffic-class traffic-class drop-precedence

Parameters

traffic-class
Specifies the traffic class to apply the RED profile. Enter an integer from 0 through 7.
drop-precedence value
Specifies the drop precedence value for the traffic class. Enter an integer from 1 from 3.
red-profile-id ID
Specifies the RED profile to assign to traffic class on the interface. Enter the identifier for a configured profile.

Modes

Interface configuration mode

Usage Guidelines

Use the no form of the command to remove the RED profile from the interface or the drop precedence for the traffic class on the interface.

Examples

The following example configures a RED profile on an interface.

device# configure terminal
device(config)# interface ethernet 0/2
device(conf-if-eth-0/2)# qos random-detect traffic-class 4 drop-precedence 1 red-profile-id 22