2-515
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 (percent)
police (percent)
To configure traffic policing on the basis of a percentage of bandwidth available on an interface, use the
police command in QoS policy-map class configuration mode. To remove traffic policing from the
configuration, use the no form of this command.
police cir percent percent [bc conform-burst-in-msec] [pir percent percentage] [be
peak-burst-inmsec]
no police cir percent percent [bc conform-burst-in-msec] [pir percent percentage] [be
peak-burst-inmsec]
Syntax Description
Command Default This command is disabled by default.
cir Committed information rate. Indicates that the CIR will be used for policing
traffic.
percent Specifies that a percentage of bandwidth will be used for calculating the
CIR.
percent Specifies the bandwidth percentage. Valid range is a number from 1 to 100.
bc (Optional) Conform burst (bc) size used by the first token bucket for policing
traffic.
conform-burst-in-msec (Optional) Specifies the bc value in milliseconds. Valid range is a number
from 1 to 2000.
pir (Optional) Peak information rate (PIR). Indicates that the PIR will be used
for policing traffic.
percent (Optional) Specifies that a percentage of bandwidth will be used for
calculating the PIR.
percent (Optional) Specifies the bandwidth percentage. Valid range is a number from
1 to 100.
be (Optional) Peak burst (be) size used by the second token bucket for policing
traffic.
peak-burst-in-msec (Optional) Specifies the be size in milliseconds. Valid range is a number
from 1 to 2000.
action 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 value—Sets the IP differentiated services code point
(DSCP) value and transmits the packet with the new IP DSCP value
setting.
• set-prec-transmit value—Sets the IP precedence and transmits the
packet with the new IP precedence value setting.
• transmit—Transmits the packet. The packet is not altered.