2-278
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
mls qos aggregate-policer
You cannot delete an aggregate policer if it is being used in a policy map. You must first use the
no
police
aggregate
aggregate-policer-name
policy-map class configuration command to delete the aggregate
policer from all policy maps before using the
no mls qos aggregate-policer
aggregate-policer-name
command.
Ingress policing uses a token-bucket algorithm on a standard or an ES port. You configure the bucket
depth (the maximum burst that is tolerated before the bucket overflows) by using the
burst-byte
option
of the
police
policy-map class configuration command or the
mls qos aggregate-policer
global
configuration command. You configure how fast (the average rate) the tokens are removed from the
bucket by using the
rate-bps
option of the
police
policy-map class configuration command or the
mls
qos aggregate-policer
global configuration command. For more information, see the software
configuration guide for this release.
Examples
This example shows how to define the aggregate policer parameters and how to apply the policer to
multiple classes in a policy map:
Switch(config)#
mls qos aggregate-policer agg_policer1 10000 1000000 exceed-action drop
Switch(config)#
policy-map policy2
Switch(config-pmap)#
class class1
Switch(config-pmap-c)#
police aggregate agg_policer1
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class class2
Switch(config-pmap-c)#
set ip dscp 10
Switch(config-pmap-c)#
police aggregate agg_policer1
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class class3
Switch(config-pmap-c)#
trust dscp
Switch(config-pmap-c)#
police aggregate agg_policer2
Switch(config-pmap-c)#
exit
You can verify your settings by entering the
show mls qos aggregate-policer
privileged EXEC
command.
Related Commands
Command
Description
Creates a policer that is shared by different classes.
show mls qos aggregate-policer
Displays the quality of service (QoS) aggregate policer
configuration.