2-519
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
police (two rates)
police (two rates)
To configure traffic policing using two rates, the committed information rate (CIR) and the peak
information rate (PIR), use the police command in policy-map configuration mode. To remove two-rate
traffic policing from the configuration, use the no form of this command.
police
cir cir [bc conform-burst] pir pir [be peak-burst] [conform-action action [exceed-action
action [violate-action action]]]
no police
cir cir [bc conform-burst] pir pir [be peak-burst] [conform-action action [exceed-action
action [violate-action action]]]
Syntax Description
Command Default This command is disabled by default.
Command Modes Policy-map configuration mode
cir Committed information rate (CIR) at which the first token bucket is updated.
cir Specifies the CIR value in bits per second. The value is a number from 32,000
to 32,000,000,000.
bc (Optional) Conform burst (bc) size used by the first token bucket for policing.
conform-burst (Optional) Specifies the bc value in bytes. The value is a number from 64 to
2,596,929,536.
pir Peak information rate (PIR) at which the second token bucket is updated.
pir Specifies the PIR value in bits per second. The value is a number from 32,000
to 32,000,000,000.
be (Optional) Peak burst (be) size used by the second token bucket for policing.
peak-burst (Optional) Specifies the peak burst (be) size in bytes. The value is a number
from 64 to 2,596,929,536.
conform-action (Optional) Action to take on packets that conform to the CIR and PIR.
exceed-action (Optional) Action to take on packets that conform to the PIR but not the CIR.
violate-action (Optional) Action to take on packets exceed the PIR.
action (Optional) Action to take on packets. Specify one of the following keywords:
• drop—Drops the packet.
• set-cos-transmit new-ios—Sets the class of services (CoS) value to a
new value and send the packet. The range is 0 to 7.
• set-dscp-transmit new-dscp—Sets the IP differentiated services code
point (DSCP) value and sends the packet with the new IP DSCP value
setting.
• set-prec-transmit new-prec—Sets the IP precedence and sends the
packet with the new IP precedence value setting.
• transmit—Sends the packet with no alteration.