1-90
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
police (percent)
police (percent)
To configure traffic policing on the basis of a percentage of bandwidth available on an interface, use the
police
command in policy-map class configuration mode. To remove traffic policing from the
configuration, use the
no
form of this command.
police
cir percent
percentage
[
burst-in-msec
] [
bc
conform-burst-in-msec
ms
]
[
be
peak-burst-in-msec
ms
] [
pir
percent
percentage
] [
conform-action
action
[
exceed-action
action
[
violate-action
action
]]]
no police
cir percent
percentage
[
burst-in-msec
] [
bc
conform-burst-in-msec
ms
]
[
be
peak-burst-in-msec
ms
] [
pir
percent
percentage
] [
conform-action
action
[
exceed-action
action
[
violate-action
action
]]]
Syntax Description
cir
Committed information rate. Indicates that the CIR will be used for policing
traffic.
percent
Specifies that a percentage of bandwidth will be used for calculating the
CIR.
percentage
Specifies the bandwidth percentage. Valid range is a number from 1 to 100.
burst-in-msec
(Optional) Burst in milliseconds. Valid range is a number from 1 to 2000.
bc
(Optional) Conform burst (bc) size used by the first token bucket for policing
traffic.
conform-burst-in-msec
(Optional) Specifies the bc value in milliseconds. Valid range is a number
from 1 to 2000.
ms
(Optional) Indicates that the burst value is specified in milliseconds.
be
(Optional) Peak burst (be) size used by the second token bucket for policing
traffic.
peak-burst-in-msec
(Optional) Specifies the be size in milliseconds. Valid range is a number
from 1 to 2000.
pir
(Optional) Peak information rate. Indicates that the PIR will be used for
policing traffic.
percent
(Optional) Specifies that a percentage of bandwidth will be used for
calculating the PIR.
conform-action
(Optional) Action to take on packets whose rate is less than the conform
burst. You must specify a value for peak-burst-in-msec before you specify
the
conform-action
.
exceed-action
(Optional) Action to take on packets whose rate is within the conform and
conform plus exceed burst.
violate-action
(Optional) Action to take on packets whose rate exceeds the conform plus
exceed burst. You must specify the
exceed-action
before you specify the
violate-action
.