Name

random-detect dscp — policy-map

Synopsis

random-detect dscp dscp-value min-threshold max-threshold mark-denominator
no random-detect dscp dscp-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 distributed services code point (DSCP) class value of a packet.

dscp-value

The DSCP 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.

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.