6-12
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 6 Policing Traffic
Percent-Based Policing
Syntax Description
See
Table 6-1 on page 6-3
for a description of each action you can specify.
For information about conforming, exceeding, and violating traffic, see the
“Usage Guidelines for the
police Command” section on page 6-7
.
police percent Command History
cir
(Optional) Committed information rate (CIR). Indicates an average rate at
which the policer meters traffic. CIR is based on the interface shape rate.
percent
percent
Indicates to use the percentage of available bandwidth specified in
percent
to calculate the CIR. Valid values are from 1 to 100.
bc
normal-burst-in-msec
(Optional)
S
pecifies the normal or committed burst size (CBS) that the
first token bucket uses for policing traffic. Specify the CBS value in
milliseconds (ms). Valid values are from 1 to 2000. The default value is
the greater of 2 ms worth of bytes at the police rate or the network
minimum transmission unit (MTU).
pir
pir
(Optional) Peak information rate (PIR), expressed as a percentage.
Indicates the rate at which the second token bucket is updated. Valid values
are from 1 to 100.
Note
When using percent-based policing, you must explicitly enter the
PIR value.
be
excess-burst-in-msec
(Optional) Specifies the excess burst size (EBS) that the second token
bucket uses for policing traffic. Specify the EBS value in milliseconds
(ms). Valid values are from 0 to 2000. The default value is zero (0). You
must specify
normal-burst-in msec
before you specify
excess-burst-in-msec
.
Note
Burst in milliseconds is based on the policing committed
information rate (CIR).
conform-action
action
(Optional) Specifies the action to take on packets that conform to the rate
limit. The default action is transmit. You must specify a value for
excess-burst-in-msec
before you specify the
conform-action
.
exceed-action
action
(Optional) Specifies the action to take on packets that exceed the rate limit,
but not the PIR. The default action is drop. You must specify the
conform-action
before you specify the
exceed-action
.
violate-action
action
(Optional) Specifies the action to take on packets that continuously exceed
the PIR rate limit. The default action is the same as the
exceed-action
. You
must specify the
exceed-action
before you specify the
violate-action
.
Cisco IOS Release
Description
Release 12.0(25)SX
The
police percent
command was introduced on the PRE1.
Release 12.3(7)XI
This command was introduced on the PRE2.