2-387
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
random-detect precedence
Note
The default WRED parameter values are based on the best available data. We recommend that you do
not change the parameters from their default values unless you have decided that your applications
would benefit from the changed values.
Examples
This example shows how to enable IP precedence-based WRED as a drop policy. It uses the IP
precedence value 3 for class
c1
. The minimum threshold for IP precedence value 3 is 24, the maximum
threshold is 40, and the mark-probability denominator is 512. The last command attaches the service
policy to the port.
Switch(config)#
class-map c1
Switch(config-cmap)#
match ip precedence 3
Switch(config-cmap)#
exit
Switch(config)#
policy-map p1
Switch(config-pmap)#
class c1
Switch(config-pmap-c)#
bandwidth 48
Switch(config-pmap-c)#
random-detect precedence-based
Switch(config-pmap-c)#
random-detect precedence 3 24 40 512
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
end
Switch(config)#
interface gigabitethernet1/1/1
Switch(config-if)#
service-policy output p1
You can verify your settings by entering the
show policy-map
privileged EXEC command.
Related Commands
Command
Description
Specifies or modifies the minimum bandwidth provided to a class belonging
to a policy map attached to an ES port.
Specifies the name of the class whose traffic policy you want to create or
change.
Creates or modifies a policy map that can be attached to multiple ports to
specify a service policy.
Enables the strict-priority queue and gives priority to a class of traffic
belonging to a policy map attached to an ES port.
Configures the maximum threshold for tail drop in a policy map attached to
an ES port.
Enables WRED in a policy map attached to an ES port.
random-detect
exponential-weighting-
constant
Configures WRED exponential weight factor for the average queue-size
calculation for the queue in a policy map attached to an ES port.
service-policy
(policy-map class)
Creates a service policy as a quality of service (QoS) policy within a policy
map.
Enables traffic shaping in a policy map attached to an ES port.
Displays QoS policy maps.