Specifications

2-409
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
police
police
To configure the Traffic Policing feature, use the police QoS policy-map class configuration command.
To remove the Traffic Policing feature from the conf iguration, use the no form of this command.
police {bps | kbps | mbps |gbps} [burst-normal] [bu rst-max] conform-action action exceed-action
action [violate-action action]
no police {bps | kbps | mbps |gbps} [ burst-normal] [bu rst-max] conform-action action
exceed- acti on action [violate-acti on action]
Syntax Description
Defaults This command is dis abled by default.
Command Modes Policy-map class configuration mode (when specifying a single action to be applied to a market packet)
Policy-map class police configuration mode (when specifying multiple actions to be applied to a marked
packet)
Usage Guidelines Use the police command to mark a packet with different quality of service (QoS) values based on
conformance to the service-level agreement.
bps Average rate, in bits per second. Valid values are 32,000 to 32,000,000,000.
kbps Average rate, in kilobytes pe r second. Valid values are 32 to 32,000,000 .
mbps Average rate, in megabits per second. Valid values are 1 to 32,000.
gbps Average rate, in gigabits per second. Valid values are 1 to 32.
burst-normal (Optional) Normal bur st size, in by tes. Valid value s are 64 to 2 ,596,929, 536.
Burst value of up to four times the configured rate can be supported.
burst-max (Optional) Exc ess burst size, in bytes. Valid val ues are 64 to 2,596 ,929,536.
Burst value of upto four times the configured rate can be supported.
conform- act ion Action to take on packets that conform to the rate limit.
exceed- acti on Action to take on packets that exceed the rate limit.
violate-action (Optional) Action to take on packets that violate the normal and maximum
burst sizes.
action Action to take on packets. Specify one of the fo llowing keywords:
drop—D rops 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 valu e—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.
transmi t—Transmits the packet. The packet is not altered.