2-385
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
random-detect precedence
random-detect precedence
Use the
random-detect precedence
policy-map class configuration command to configure IP
precedence-based Weighted Random Early Detection (WRED) settings in a hierarchical policy map
attached to an enhanced-services (ES) port. Use the
no
form of this command to return to the default
settings.
random-detect
precedence
ip-precedence min-threshold max-threshold mark-prob-denominator
no random detect precedence
ip-precedence
Syntax Description
Defaults
For all precedences, the
mark-prob-denominator
default is 10. The
min-threshold
default is 64 packets,
and the
max-threshold
default is 128 packets.
The default
min-threshold
depends on the precedence as listed in
. The
min-threshold
for IP precedence 0 corresponds to half of the
max-threshold
. The values for the remaining
precedences fall between half the
max-threshold
and the
max-threshold
at evenly spaced intervals.
Command Modes
Policy-map class configuration
Command History
ip-precedence
min-threshold
max-threshold
mark-prob-denominator
Specify WRED settings, such as packet threshold and mark probability
values, for an IP precedence value. Specify these options:
•
ip-precedence—
IP precedence value. The range is 0 to 7.
•
min-threshold
—the minimum threshold in packets. The range is 1 to
32768. When the average queue size reaches the minimum threshold,
WRED randomly drops some packets with the specified precedence
value.
•
max-threshold
—the maximum threshold in packets. The range is 1 to
32768. When the average queue size exceeds the maximum threshold,
WRED drops all packets with the specified precedence value.
•
mark-prob-denominator
—the denominator for the fraction of packets
dropped when the average queue size is at the maximum threshold.
The range is 1 to 65535. For example, if the denominator is 512, one
out of every 512 packets is dropped when the queue is at the maximum
threshold. The default is 10; 1 out of every 10 packets is dropped at
the maximum threshold.
Release
Modification
12.1(14)AX
This command was introduced.
12.2(25)EY
Hierarchical service policies can be attached to inbound traffic received on
an ES port.