Police - Cisco Catalyst 2960 Command Reference Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

police

police
Use the police policy-map class configuration command to define a policer for classified traffic. 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. Use the no form of this command to remove an
existing policer.
Syntax Description
rate-bps
burst-byte
exceed-action drop
exceed-action
policed-dscp-transmit
Defaults
No policers are defined.
Command Modes
Policy-map class configuration
Command History
Release
12.2(25)FX
Usage Guidelines
When configuring hierarchical policy maps, you can only use the police policy-map command in a
secondary interface-level policy map.
The port ASIC device, which controls more than one physical port, supports 256 policers (255
user-configurable policers plus 1 policer reserved for internal use). The maximum number of
user-configurable policers supported per port is 63. Policers are allocated on demand by the software and
are constrained by the hardware and ASIC boundaries. You cannot reserve policers per port. There is no
guarantee that a port will be assigned to any policer.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode,
use the end command.
Catalyst 2960 Switch Command Reference
2-260
police rate-bps burst-byte [exceed-action {drop | policed-dscp-transmit}]
no police rate-bps burst-byte [exceed-action {drop | policed-dscp-transmit}]
Specify the average traffic rate in bits per second (b/s). The range is 1000000
to 1000000000.
Specify the normal burst size in bytes. The range is 8000 to 1000000.
(Optional) When the specified rate is exceeded, specify that the switch drop
the packet.
(Optional) When the specified rate is exceeded, specify that the switch
changes the Differentiated Services Code Point (DSCP) of the packet to that
specified in the policed-DSCP map and then sends the packet.
Modification
This command was introduced.
Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
OL-8604-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents