Classifying, Policing, And Marking Traffic By Using Aggregate Policers - Cisco Catalyst 3550 series Software Configuration Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Chapter 29
Configuring QoS
Switch (config-pmap-c)# trust dscp
Switch (config-pmap-c)# set cos 3
Switch (config-pmap-c)# exit
Switch (config-pmap)# exit
Switch (config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input policymap1

Classifying, Policing, and Marking Traffic by Using Aggregate Policers

By using an aggregate policer, you can create a policer that is shared by multiple traffic classes within
the same policy map. However, you cannot use the aggregate policer across different policy maps or
interfaces.
Beginning in privileged EXEC mode, follow these steps to create an aggregate policer:
Command
Step 1
configure terminal
Step 2
mls qos
Step 3
mls qos aggregate-police
aggregate-policer-name rate-bps
burst-byte exceed-action {drop |
policed-dscp-transmit}
Step 4
class-map [match-all | match-any]
class-map-name
78-11194-09
Purpose
Enter global configuration mode.
Enable QoS on the switch.
Define the policer parameters that can be applied to multiple traffic
classes within the same policy map.
By default, no aggregate policer is defined.
You can configure up to 128 policers on ingress Gigabit-capable
Ethernet ports, up to 8 policers on ingress 10/100 Ethernet ports, and
up to 8 policers on egress ports.
For aggregate-policer-name, specify the name of the aggregate
policer.
For rate-bps, specify average traffic rate in bits per second (bps).
The range is 8000 to 2000000000.
For burst-byte, specify the normal burst size in bytes. The range is
8000 to 512000000.
Note
Although the command-line help strings show a large range of
values, the rate-bps option cannot exceed the configured port
speed, and the burst-byte option cannot exceed 2000000 bytes.
If you enter a larger value, the switch rejects the policy map
when you attach it to an interface.
(Optional) 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
"Classifying Traffic on a Physical-Port Basis by
Using Class Maps" section on page 29-39
on a Per-Port Per-VLAN Basis by Using Class Maps" section on
page
29-41.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring Standard QoS
"Configuring the
29-53.
and the
"Classifying Traffic
29-49

Advertisement

Table of Contents
loading

Table of Contents