2-585
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos policer
The excess rate must be greater than or equal to the normal rate.
The set qos policer aggregate command allows you to configure an aggregate flow and a policing rule for
that aggregate. When you enter the microflow microflow_name rate rate burst burst, th e range fo r the
average rate is 32kilobits per second to 8 gigabits per second, and the range for the burst size is 1 kilobit
(entered as 1) to 32 megabits (entered as 32000). The burst can be set lower, higher, or equal to the rate.
Modifying an existing aggregate rate limit entry causes that entry to be modified in NVRAM and in the
switch if that entry is currently being used.
Note We recommend a 32-kilobit minimum value burst size. Due to the nature of the traffic at different
customer sites, along with the hardware configuration, smaller values occasionally result in lower rates
than the specified rate. If you experiment with smaller values but problems oc cur, increase the burst rate
to this minimum recommended value.
When you modify an existing microflow or aggregate rate limit, that entry in NVRAM is modified, as
well as in the switch if it is currently being used.
When you enter the policing name, follow these naming conventions:
Maximum of 31 characters long and may include a through z, A th rou gh Z, 0 thr oug h 9, the dash
character (-), the underscore character (_), and the period character (.)
Must start with an alpha character and must be unique across all ACLs of all types
Case sensitive
Cannot be a number
Must not be a keyword; keywords to avoid are all, default-action, map, help, and editbuffer
The burst keyword and the burst value and the optional eburst keyword and the eburst value set the
token bucket sizes. To sustain a specific rate, set the token bucket size to be at least the rate divided by
4000, because tokens are removed from the bucket every 1/4000th of a second (0.2 5 mi llise cond s) a nd
the bucket needs to be at least as large as the burst size to sustain the specified rate.
If you do not enter the eburst keyword and the eburst value, QoS sets both token buckets to the size
configured with the burst keyword and the burst value.
Examples This example shows how to create a microflow policing rule for ACL:
Console> (enable) set qos policer microflow my-micro rate 1000 burst 10000 policed-dscp
QoS policer for microflow my-micro set successfully.
Console> (enable)
These examples show how to create an aggregate policing rule for ACL:
Console> (enable) set qos policer aggregate my-agg rate 1000 burst 2000 drop
QoS policer for aggregate my-aggset successfully.
Console> (enable)
Console> (enable) set qos policer aggregate test3 rate 64 policed-dscp erate 128 drop burst 96
QoS policer for aggregate test3 created successfully.
Console> (enable)
Related Commands clear qos policer
show qos policer