Specifications

2-275
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 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 a
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 a policer.
police {cir cir-bps | rate-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 {cir cir-bps | rate-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 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.
rate-bps Specify the average traffic rate in b/s. The range is 8000 to 1000000000.
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.