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

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 26
Configuring QoS
Switch(config)# class-map macclass1
Switch(config-cmap)# match access-group maclist1
Switch(config-cmap)# exit
Switch(config)# policy-map macpolicy1
Switch(config-pmap)# class macclass1
Switch(config-pmap-c)# set ip dscp 63
Switch(config-pmap-c)# exit
Switch(config-pmap)# class macclass2 maclist2
Switch(config-pmap-c)# set ip dscp 45
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# mls qos trust cos
Switch(config-if)# service-policy input macpolicy1

Classifying, Policing, and Marking Ingress 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
ports.
Before beginning this procedure, make sure that you have created the class map to isolate traffic. For
more information, see the
"Classifying Ingress Traffic by Using Class Maps" section on page
Beginning in privileged EXEC mode, follow these steps to create an aggregate policer for inbound
traffic:
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
policy-map policy-map-name
78-15870-01
"Classifying Ingress Traffic by Using ACLs" section on page 26-49
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 26-40
For aggregate-policer-name, specify the name of the aggregate
policer.
For rate-bps, specify average traffic rate in bps. The range is
8000 to 1000000000.
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 (through the policed-DSCP map) and send the
packet. For more information, see the
Policed-DSCP Map" section on page
Create a policy map by entering the policy-map name, and enter
policy-map configuration mode.
For more information, see the
Ingress Traffic by Using Policy Maps" section on page
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring Standard QoS
26-52.
"Standard QoS Configuration
"Configuring the
26-61.
"Classifying, Policing, and Marking
26-54.
and the
26-57

Advertisement

Table of Contents
loading

Table of Contents