EasyManuals Logo

Cisco WS-C3560-48PS-S User Manual

Cisco WS-C3560-48PS-S
892 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #567 background imageLoading...
Page #567 background image
28-45
Catalyst 3560 Switch Software Configuration Guide
78-16156-01
Chapter 28 Configuring QoS
Configuring Standard QoS
Switch(config-ext-mac)# exit
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 gigabitethernet0/1
Switch(config-if)# mls qos trust cos
Switch(config-if)# service-policy input macpolicy1
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.
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
aggregate-policer-name rate-bps burst-byte
exceed-action {drop |
policed-dscp-transmit}
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 “Standard QoS Configuration
Guidelines” section on page 28-29.
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 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 send the
packet. For more information, see the “Configuring the
Policed-DSCP Map” section on page 28-49.
Step 3
class-map [match-all | match-any]
class-map-name
Create a class map to classify traffic as necessary. For more
information, see the “Classifying Traffic by Using Class Maps
section on page 28-40.
Step 4
policy-map policy-map-name Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
For more information, see the “Classifying, Policing, and Marking
Traffic by Using Policy Maps” section on page 28-42.

Table of Contents

Other manuals for Cisco WS-C3560-48PS-S

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco WS-C3560-48PS-S and is the answer not in the manual?

Cisco WS-C3560-48PS-S Specifications

General IconGeneral
BrandCisco
ModelWS-C3560-48PS-S
CategorySwitch
LanguageEnglish

Related product manuals