Specifications
2-187
Cisco ME 2400 Ethernet Access Switch Command Reference
OL-9643-03
Chapter 2 Cisco ME 2400 Ethernet Access Switch Cisco IOS Commands
police
police
Use the police policy-map class configuration command to define an individual policer for classified
traffic and to enter policy-map class police configuration mode. A policer defines a maximum
permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either
maximum is exceeded. In policy-map class police configuration mode, you can specify multiple actions
for a packet. Use the no form of this command to remove an existing policer.
police {rate-bps | cir cir-bps} [burst-bytes | bc [burst-value]] [conform-action [set-cos-transmit
{new-cos-value | [cos | dscp | precedence] [table table-map name]} | set-dscp-transmit
{new-dscp-value | [cos | dscp | precedence] [table table-map name]} | set-prec-transmit
{new-precedence-value | [cos | dscp | precedence] [table table-map name]} | set-qos-transmit
qos-group-value | transmit] [exceed action [drop | set-cos-transmit {new-cos-value | [cos |
dscp | precedence] [table table-map name]} | set-dscp-transmit {new-dscp-value | [cos | dscp
| precedence
] [table table-map name]} | set-prec-transmit {new-precedence-value | [cos |
dscp | precedence] [table table-map name]} | set-qos-transmit qos-group-value | transmit]]
no police {rate-bps | cir cir-bps} [burst-bytes | bc [burst-value]] [conform-action
[set-cos-transmit {new-cos-value | [cos | dscp | precedence] [table table-map name]} |
set-dscp-transmit {new-dscp-value | [cos | dscp | precedence] [table table-map name]} |
set-prec-transmit {new-precedence-value | [cos | dscp | precedence] [table table-map name]}
| set-qos-transmit qos-group-value | transmit] [exceed action
[drop | set-cos-transmit
{new-cos-value | [cos | dscp | precedence] [table table-map name]} | set-dscp-transmit
{new-dscp-value | [cos | dscp | precedence] [table table-map name]} | set-prec-transmit
{new-precedence-value | [cos | dscp | precedence] [table table-map name]} | set-qos-transmit
qos-group-value | transmit]]
Note When police is used with the priority policy-map class command for unconditionally rate-limiting the
priority queue, burst size values are not supported, and the rate-bps range is smaller. Only the default
conform-action of transmit and the default exceed-action of drop are supported.
Syntax Description rate-bps Specify the average traffic rate in bits per second (bps). The range is 8000 to
1000000000.
Note The range for police with the priority command for output service
policies is 64000 to 1000000000.
cir Committed information rate (CIR) used for policing traffic.
cir-bps CIR rate in bps. The range is 8000 to 1000000000 bps.
Note The range for police with the priority command for output service
policies is 64000 to 1000000000.
burst-bytes (Optional) Specify the normal burst size in bytes. The range is 8000 to
1000000.
bc [burst- value] (Optional) Conform burst. The number of acceptable burst bytes. The range
is 8000 to 1000000 bytes. If no burst value is entered, the system calculates
a burst value that equals the number of bytes that can be sent in 250
milliseconds (ms) at the CIR rate. In most cases, the automatically calculated
value is appropriate; enter a new value only if you are aware of all
implications.