QoS Commands
police aggregate
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
384
28
Parameters
•
committed-rate-kbps
—The average traffic rate (CIR) in kbits per second
(kbps). (Range: 16 to 10000000)
•
exceed-action {drop | forward}—(Optional) Specifies the action to be taken
when the rate is exceeded. The possible values are:
-
drop—Drops the packet.
-
forward—Forwards the packet.
Default Usage
N/A
Command Mode
Policy-map Class Configuration mode
User Guidelines
Policing uses a token bucket algorithm. CIR represents the speed with which the
token is added to the bucket.
Example
The following example defines a policer for classified traffic. When the traffic rate
exceeds 124,000 kbps, the packet is dropped. The class is called class1 and is in
a policy map called policy1.
switchxxxxxx(config)#
policy-map policy1
switchxxxxxx(config-pmap)#
class class1
switchxxxxxx(config-pmap-c)#
police 124000 exceed-action drop
police aggregate
To apply an aggregate policer to multiple class maps within the same policy map,
use the police aggregate Policy-map Class Configuration mode command.
To remove an existing aggregate policer from a policy map, use the no form of this
command.
NOTE
This command is available only when the switch is in QoS advanced mode.