Chapter 36 Configuring QoS

Configuring Standard QoS

Switch(config-pmap-c)# exit

Switch(config-pmap)# class-mapcm-2

Switch(config-pmap-c)# match ip dscp 2

Switch(config-pmap-c)#service-policy port-plcmap-1

Switch(config-pmap)# exit

Switch(config-pmap)# class-mapcm-3

Switch(config-pmap-c)# match ip dscp 3

Switch(config-pmap-c)#service-policy port-plcmap-2

Switch(config-pmap)# exit

Switch(config-pmap)# class-mapcm-4

Switch(config-pmap-c)# trust dscp

Switch(config-pmap)# exit

Switch(config)# interface vlan 10

Switch(config-if)#

Switch(config-if)#service input vlan-plcmap

Switch(config-if)# exit

Switch(config)# exit

Switch#

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 ports.

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

Purpose

 

Step 1

 

 

 

configure terminal

Enter global configuration mode.

 

Step 2

 

 

 

mls qos aggregate-policer

Define the policer parameters that can be applied to multiple traffic

 

 

aggregate-policer-name rate-bps burst-byte

classes within the same policy map.

 

 

exceed-action {drop

By default, no aggregate policer is defined. For information on the

 

 

policed-dscp-transmit}

 

 

number of policers supported, see the “Standard QoS Configuration

 

 

 

 

 

 

Guidelines” section on page 36-35.

 

 

 

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 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 (by using the policed-DSCP map) and to send

 

 

 

the packet. For more information, see the “Configuring the

 

 

 

Policed-DSCP Map” section on page 36-65.

 

Step 3

 

 

 

class-map [match-all match-any]

Create a class map to classify traffic as necessary. For more

 

 

class-map-name

information, see the “Classifying Traffic by Using Class Maps”

 

 

 

section on page 36-49and the “Creating Named Standard and

 

 

 

Extended ACLs” section on page 34-15.

 

 

 

 

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-9775-02

 

 

36-61

 

 

 

 

 

Page 811
Image 811
Cisco Systems 3750E manual Mls qos aggregate-policer, Aggregate-policer-name rate-bps burst-byte, Exceed-action drop, 36-61