Chapter 27
Configuring QoS
Command
Step 4
police {rate-bps | cir {cir-bps
[burst-bytes] [bc burst-bytes] |
percent percent [burst-ms] [bc
burst-ms]} [pir {pir-bps [be
peak-burst] | percent percent [be
peak-ms]}
OL-23400-01
Purpose
Define a policer using one or two rates—committed information rate (CIR)
and peak information rate (PIR) for the class of traffic. By default, no policer
is defined.
For rate-bps, specify average traffic rate in bits per second (b/s). The
•
range is 64000 to 10000000000.
For cir cir-bps, specify a committed information rate (CIR) in bits per
•
second (b/s). The range is 64000 to 10000000000.
•
For burst-bytes (optional), specify the normal burst size in bytes. The
range is 8000 to 16000000.
•
For bc burst-bytes (optional), specify the conformed burst (bc) or the
number of acceptable burst bytes. The range is 8000 to 16000000.
For cir percent percent, specify the CIR as a percentage of the bandwidth
•
assigned to the class. The range is from 1 to 100 percent.
For burst-ms (optional), enter the conform burst size in milliseconds. The
•
range is 1 to 2000.
•
For bc burst-ms (optional), specify the conformed burst (bc) in ms. The
range is 1 to 2000.
•
(Optional) For pir pir-bps, specify the peak information rate (PIR) for the
policy. The range is 64000 to 10000000000. If you do not enter a pir
pir-bps, the policer is configured as a 1-rate, 2-color policer.
For be peak-burst (optional), specify the peak burst size in bytes. The
•
range is 8000 to 16000000 bytes. The default is internally calculated
based on the user configuration. You cannot configure this option unless
you have entered the pir keyword.
•
For pir percent percent, specify the PIR as a percentage of the bandwidth
assigned to the class. The range is 1 to 100 percent. if you enter cir
percent, you must enter pir in percent.
For be burst-ms (optional), specify the peak burst in ms. The range is 1to
•
2000.
If you are configuring a single action for conformed and exceeded
Note
packets, you can specify them in the same line as the police command.
If configuring multiple actions, press ENTER after the police
command, and enter policy-map class police configuration mode
(config-pmap-c-police) mode to specify the actions to take.
Cisco ME 3800X and 3600X Switch Software Configuration Guide
Configuring QoS
27-39