SUMMARY STEPS
1.
configure terminal
2.
mls qos aggregate-policer aggregate-policer-name rate-bps burst-byte exceed-action {drop |
policed-dscp-transmit}
3.
class-map [match-all | match-any] class-map-name
4.
policy-map policy-map-name
5.
class [class-map-name | class-default]
6.
police aggregate aggregate-policer-name
7.
exit
8.
interface interface-id
9.
service-policy input policy-map-name
10.
end
11.
show mls qos aggregate-policer [aggregate-policer-name]
12.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Defines the policer parameters that can be applied to multiple traffic
classes within the same policy map.
mls qos aggregate-policer aggregate-policer-name
rate-bps burst-byte exceed-action {drop |
policed-dscp-transmit}
Step 2
By default, no aggregate policer is defined.
Example:
Switch(config)# mls qos aggregate-police
•
For aggregate-policer-name, specify the name of the
aggregate policer.
•
For rate-bps, specify average traffic rate in bits per second
(b/s). The range is 8000 to 10000000000.
transmit1 48000 8000 exceed-action
policed-dscp-transmit
•
For burst-byte, specify the normal burst size in bytes. The
range is 8000 to 1000000.
•
Specifies the action to take when the rates are exceeded. Use
the exceed-action drop keywords to drop the packet. Use
the exceed-action policed-dscp-transmit keywords to mark
down the DSCP value (by using the policed-DSCP map) and
to send the packet.
Creates a class map to classify traffic as necessary.class-map [match-all | match-any]
class-map-name
Step 3
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
602
How to Configure QoS