2-240
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
police
police
Use the police policy-map class configuration command to define a policer for classified traffic. Use the
no form of this command to remove an existing policer.
police rate-bps burst-byte [exceed-action {drop | dscp dscp-value}]
no policerate-bps burst-byte [exceed-action {drop | dscp dscp-value}]
This command is available only if your switch is running the enhanced software image (EI).
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.
rate-bps Specify average traffic 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 Specify the normal burst size in bytes.
For 10/100 ports, the burst size values are 4096, 8192, 16384, 32768, and
65536.
For Gigabit-capable Ethernet ports, the burst size values are 4096, 8192,
16384, 32768, 65536, 131072, 262144, and 524288.
exceed-action drop (Optional) When the specified rate is exceeded, specify that the switch drops
the packet.
exceed-action dscp
dscp-value
(Optional) When the specified rate is exceeded, specify 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.