Cisco Catalyst 2960 Software Configuration Manual page 801

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 33
Configuring QoS
You can configure aggregate policers only in nonhierarchical policy maps on physical ports. Beginning
in privileged EXEC mode, follow these steps to create an aggregate policer:
Command
Step 1
configure terminal
Step 2
mls qos aggregate-policer
aggregate-policer-name rate-bps burst-byte
exceed-action {drop |
policed-dscp-transmit}
Step 3
class-map [match-all | match-any]
class-map-name
Step 4
policy-map policy-map-name
Step 5
class [class-map-name | class-default]
Step 6
police aggregate aggregate-policer-name
Step 7
exit
Step 8
interface interface-id
OL-26520-01
Purpose
Enter global configuration mode.
Define the policer parameters that can be applied to multiple traffic
classes within the same policy map.
By default, no aggregate policer is defined. For information on the
number of policers supported, see the
Guidelines" section on page
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. (On Catalyst 2960-S switches,
although you can configure a rate of 8000, the minimum rate
granularity is actually 16000.)
For burst-byte, specify the normal burst size in bytes. The range
is 8000 to 1000000.
Specify 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. For more information, see the
Policed-DSCP Map" section on page
Create a class map to classify traffic as necessary. For more
information, see the
section on page
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
For more information, see the
Traffic on Physical Ports by Using Policy Maps" section on
page
33-57.
Define a traffic classification, and enter policy-map class
configuration mode.
For more information, see the
Traffic on Physical Ports by Using Policy Maps" section on
page
33-57.
Apply an aggregate policer to multiple classes in the same policy
map.
For aggregate-policer-name, enter the name specified in Step 2.
Return to global configuration mode.
Specify the port to attach to the policy map, and enter interface
configuration mode.
Valid interfaces include physical ports.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
"Standard QoS Configuration
33-40.
33-67.
"Classifying Traffic by Using Class Maps"
33-53.
"Classifying, Policing, and Marking
"Classifying, Policing, and Marking
Configuring Standard QoS
"Configuring the
33-63

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents