26-95
Catalyst 3750 Metro Switch Software Configuration Guide
78-15870-01
Chapter 26 Configuring QoS
Configuring Hierarchical QoS
To delete an existing policy map, use the no policy-map policy-map-name global configuration
command. To delete an existing class, use the no class class-name policy-map configuration command.
To return to the default bandwidth, use the no bandwidth policy-map class configuration command. To
disable IP precedence-based WRED, use the no random-detect precedence-based policy-map class
configuration command. To return to the default WRED settings, use the no random-detect precedence
ip-precedence policy-map class configuration command.
Step 6
random-detect precedence ip-precedence
min-threshold max-threshold
mark-prob-denominator
Specify packet threshold and mark-probability values for a specific IP
precedence value:
• For ip-precedence, specify an IP precedence value. The range is 0
to 7.
• For min-threshold, specify 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.
• For max-threshold, specify the maximum threshold in packets.
The range is 1 to 32768. The default is 128. When the average
queue size exceeds the maximum threshold, WRED drops all
packets with the specified precedence value.
• For mark-prob-denominator, specify the denominator for the
fraction of packets dropped when the average queue size is at the
maximum threshold. The range is 1 to 65535. The default is 10.
For example, if the denominator is 512, one out of every 512
packets is dropped when the queue is at the maximum threshold.
For a list of the default settings for a specified IP precedence value, see
the command reference for this release.
Step 7
random-detect
exponential-weighting-constant weight
(Optional) Configure the exponential weight factor for the average
queue-size calculation for WRED. The range is 1 to 16. The default
is 9.
Step 8
exit Return to policy-map configuration mode.
Step 9
exit Return to global configuration mode.
Step 10
interface interface-id Specify an ES port to attach to the policy map, and enter interface
configuration mode.
Step 11
service-policy output policy-map-name Specify the egress policy-map name, and apply it to the ES port.
Only one policy map per port is supported.
Step 12
end Return to privileged EXEC mode.
Step 13
show policy-map [policy-map-name [class
class-map-name]]
or
show policy-map interface interface-id
Verify your entries.
Step 14
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose