Setup Guide
• Specify the number of bytes of packet overhead to include in rate limiting, policing, and shaping calculations.
CONFIGURATION mode
qos-rate-adjust overhead-bytes
For example, to include the Preamble and SFD, type qos-rate-adjust 8. For variable length overhead elds, know the number of
bytes you want to include.
The default is disabled.
The range is from 1 to 31.
Enabling Strict-Priority Queueing
In strict-priority queuing, the system de-queues all packets from the assigned queue before servicing any other queues. You can assign
strict-priority to one unicast queue, using the strict-priority command.
• Policy-based per-queue rate shaping is not supported on the queue congured for strict-priority queuing. To use queue-based rate-
shaping as well as strict-priority queuing at the same time on a queue, use the Scheduler Strict feature as described in Scheduler
Strict .
• The strict-priority supersedes bandwidth-percentage conguration.
• A queue with strict priority can starve other queues in the same port-pipe.
• Assign strict priority to one unicast queue.
INTERFACE mode
service-policy output policy-map-name
Enter the name for the policy map in character format (32 characters maximum).
Weighted Random Early Detection
Weighted random early detection (WRED) is a congestion avoidance mechanism that drops packets to prevent buering resources from
being consumed.
The WRED congestion avoidance mechanism drops packets to prevent buering resources from being consumed.
Trac is a mixture of various kinds of packets. The rate at which some types of packets arrive might be greater than others. In this case,
the space on the buer and trac manager (BTM) (ingress or egress) can be consumed by only one or a few types of trac, leaving no
space for other types. You can apply a WRED prole to a policy-map so that specied trac can be prevented from consuming too much
of the BTM resources.
WRED uses a prole to specify minimum and maximum threshold values. The minimum threshold is the allotted buer space for specied
trac, for example, 1000KB on egress. If the 1000KB is consumed, packets are dropped randomly at an exponential rate until the maximum
threshold is reached (as shown in the following illustration); this procedure is the “early detection” part of WRED. If the maximum threshold,
for example, 2000KB, is reached, all incoming packets are dropped until the buer space consumes less than 2000KB of the specied
trac.
728
Quality of Service (QoS)