characteristics to the specified policy-map, and to modify the match criteria within the class-
map by using the access-group option.
If a new class-map name is used, it is automatically created, but then the access-group must
be created.
Example
The following example defines a traffic classification named "class1" with an access-group called
"dell". The class is in a policy map called "policy1".
Console (config)# policy-map policy1
Console (config-pmap)# class class1 access-group dell
police
The police policy-map class configuration command defines a policer for classified traffic. To
remove an existing policer, use the no form of this command.
Syntax
police committed-rate-kbps committed-burst-byte [exceed-action {drop | policed-dscp-
transmit }]
no police
•
committed-rate-kbps—The average traffic rate (CIR) in kilo bits per second(bps).
•
committed-burst-byte—The normal burst size (CBS) in bytes.
•
exceed-action drop—Specifies action taken when the rate is exceed, which is to drop the
packet.
•
exceed-action policed-dscp-transmit—Specifies the action taken when the rate is
exceeded, which is to remark the DSCP of the packet according to policed-DSCP map.
Default Configuration
This command has no default configuration.
Command Mode
Policy-map Class Configuration mode
User Guidelines
Policing uses a token bucket algorithm. CIR represents how fast the token is removed from
the bucket. CBS represents the depth of the bucket.
311
QoS Commands