O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

random-detect discard-class — policy-map

Synopsis

random-detect discard-class class-value min-threshold max-threshold mark-
denominator
no random-detect discard-class class-value min-threshold max-threshold
mark-denominator

Configures

Weighted Random Early Detection (WRED)

Default

None

Description

This command defines the packet thresholds based on the discard class value of a packet.

class-value

The discard class value, from 0 to 7.

min-threshold

The minimum threshold in number of packets, from 1 to 4,096. If the minimum threshold is reached, WRED randomly drops some packets with the specified IP precedence.

max-threshold

The maximum threshold in number of packets, from 1 to 4,096. When the threshold is reached, WRED drops all packets with the specified IP precedence.

mark-denominator

Denominator for the fraction of packets dropped when the average queue depth is at the maximum threshold. The default is 10, which means that 1 out of every 10 packets is dropped at the maximum threshold.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required