Cisco WS-C3560E-48PD-SF Command Reference - Page 273
police, aggregate, no mls qos aggregate-policer, police aggregate
View all Cisco WS-C3560E-48PD-SF manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 273 highlights
Chapter 2 Catalyst 3560 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. Policing uses a token-bucket algorithm. 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) that 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 1000000 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 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 police aggregate show mls qos aggregate-policer Description Creates a policer that is shared by different classes. Displays the quality of service (QoS) aggregate policer configuration. 78-16405-05 Catalyst 3560 Switch Command Reference 2-241