16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
police
207
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
police
To define a policer for classified traffic, use the police command in policy-map class configuration
mode. To remove an existing policer, use the no form of this command.
police {bps | cir bps} [burst-byte | bc burst-byte] conform-action transmit [exceed-action {drop
| dscp dscp-value}]
police {bps | cir bps} [burst-byte | bc burst-byte] conform-action transmit [exceed-action {drop
| dscp dscp-value}]
Syntax Description
Defaults
No policers are defined.
Command Modes
Policy-map class configuration
Command History
Usage Guidelines
You can configure up to six policers on ingress Fast Ethernet ports.
You can configure up to 60 policers on ingress Gigabit-capable Ethernet ports.
Policers cannot be configured on egress Fast Ethernet and Gigabit-capable Ethernet ports.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode,
use the end command.
bps | cir bps
Average traffic rate or committed information rate in bits per second
(bps).
For 10/100 ports, the range is 1000000 to 100000000, and the granularity
is 1 Mbps.
For Gigabit-capable Ethernet ports, the range is 8000000 to 1016000000,
and the granularity is 8 Mbps.
burst-byte | bc burst-byte
(Optional) Normal burst size or burst count in bytes.
conform-action transmit
Sends packets that conform to the rate limit
.
exceed-action drop
(Optional) When the specified rate is exceeded, specifies that the switch
drop the packet
.
exceed-action dscp
dscp-value
(Optional) When the specified rate is exceeded, specifies that the switch
changes the Differentiated Services Code Point (DSCP) of the packet to
the specified dscp-value and then sends the packet.
Release
Modification
12.1(6)EA2
This command was introduced.
12.2(15)ZJ
This command was implemented on the following platforms: Cisco 2600
series, Cisco 3600 series, and Cisco 3700 series routers.