6-10
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 6 Policing Traffic
Two-Rate Three-Color Marker for Traffic Policing
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 Command History
Usage Guidelines for the police Command
When the
be
value equals 0, we recommend that you set the egress
bc
value to be greater than or equal
to the ingress
bc
value plus 1. Otherwise, packet loss can occur. For example:
be = 0
egress bc >= ingress bc + 1
pir
pir
Peak information rate (PIR). Indicates the rate at which the second token
bucket is updated. The
pir
specifies the PIR value in bits per second. Valid
values are from 8000 to 2,488,320,000.
be
peak-burst
(Optional) Specifies the peak burst (be) size used by the second token
bucket for policing. The
peak-burst
specifies the be value in bytes. The size
depends on the interface used. Valid values are 0 to 1,024,000,000.
Note
When the
be
value equals 0, we recommend that you set the egress
bc
value to be greater than or equal to the ingress
bc
value plus 1.
Otherwise, packet loss can occur. For example:
be = 0
egress bc >= ingress bc + 1
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
burst-excess
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.2(27)SBB
The single-rate
police
command was enhanced on the PRE2 to allow you to
configure two traffic policing rates: the committed information rate (CIR)
and the peak information rate (PIR).
Release 12.2(31)SB2
This command was introduced on the PRE3 to allow you to police traffic on
the L2TP access concentrator (LAC) based on the value of a packet’s IP
DSCP bits.