34-60
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 34 Configuring QoS
Configuring Standard QoS
Switch(config-pmap-c)# trust dscp
Switch(config-pmap-c)# police aggregate transmit1
Switch(config-pmap-c)# exit
Switch(config-pmap)# class ipclass2
Switch(config-pmap-c)# set dscp 56
Switch(config-pmap-c)# police aggregate transmit1
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input aggflow1
Switch(config-if)# exit
Configuring DSCP Maps
These sections contain this configuration information:
Configuring the CoS-to-DSCP Map, page 34-60 (optional)
Configuring the IP-Precedence-to-DSCP Map, page 34-62 (optional)
Configuring the Policed-DSCP Map, page 34-63 (optional, unless the null settings in the map are
not appropriate)
Configuring the DSCP-to-CoS Map, page 34-64 (optional)
Configuring the DSCP-to-DSCP-Mutation Map, page 34-65 (optional, unless the null settings in the
map are not appropriate)
All the maps, except the DSCP-to-DSCP-mutation map, are globally defined and are applied to all ports.

Configuring the CoS-to-DSCP Map

You use the CoS-to-DSCP map to map CoS values in incoming packets to a DSCP value that QoS uses
internally to represent the priority of the traffic.
Tabl e 34-12 shows the default CoS-to-DSCP map.
If these values are not appropriate for your network, you need to modify them.
Beginning in privileged EXEC mode, follow these steps to modify the CoS-to-DSCP map. This
procedure is optional.
Tab l e 34-12 Default CoS-to-DSCP Map
CoS Value DSCP Value
0 0
1 8
216
324
432
540
648
756