49
806
switchxxxxxx(config)# class-map c1
switchxxxxxx(config-cmap)# match access-group ip1
switchxxxxxx(config-cmap)# exit
switchxxxxxx(config)# policy-map p1
switchxxxxxx(config-pmap)# class c1
switchxxxxxx(config-pmap-c)#
49.12 police
Use the police Policy-map Class Configuration mode command to define the
policer for classified traffic. This defines another group of actions for the policy
map (per class map).
This command is used after the
Use the no form of this command to remove a policer.
This command is only available when QoS is in advanced mode.
Syntax
police
committed-rate-kbps committed-burst-byte [exceed-action {drop |
policed-dscp-transmit}]
no police
Parameters
•
committed-rate-kbps—Specifies the average traffic rate (CIR) in kbits per
second (bps). Range: 100–10000000)
•
committed-burst-byte—Specifies the normal burst size (CBS) in bytes.
(Range: 3000–19173960)
•
exceed-action {drop | policed-dscp-transmit}—Specifies the action taken
when the rate is exceeded. The possible values are:
-
drop—Drops the packet.
-
policed-dscp-transmit—Remarks the packet DSCP, according to the
policed-DSCP map as configured by the qos map policed-dscp Global
Configuration mode command.
Quality of Service (QoS) Commands
56
set dscp
policy-map
and
class
78-21075-01 Command Line Interface Reference Guide
commands.