34-42
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 34 Configuring QoS
Configuring Standard QoS
To return a port to its non-trusted state, use the no mls qos trust interface configuration command. To
return to the default DSCP-to-DSCP-mutation map values, use the no mls qos map dscp-mutation
dscp-mutation-name global configuration command.
This example shows how to configure a port to the DSCP-trusted state and to modify the
DSCP-to-DSCP-mutation map (named gi0/2-mutation) so that incoming DSCP values 10 to 13 are
mapped to DSCP 30:
Switch(config)# mls qos map dscp-mutation gi0/2-mutation 10 11 12 13 to 30
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# mls qos trust dscp
Switch(config-if)# mls qos dscp-mutation gi0/2-mutation
Switch(config-if)# end
Configuring a QoS Policy
Configuring a QoS policy typically requires classifying traffic into classes, configuring policies applied
to those traffic classes, and attaching policies to ports.
For background information, see the “Classification” section on page 34-5 and the “Policing and
Marking” section on page 34-8. For configuration guidelines, see the “Standard QoS Configuration
Guidelines” section on page 34-33.
These sections describe how to classify, police, and mark traffic. Depending on your network
configuration, you must perform one or more of these tasks:
Classifying Traffic by Using ACLs, page 34-43
Classifying Traffic by Using Class Maps, page 34-46
Classifying, Policing, and Marking Traffic on Physical Ports by Using Policy Maps, page 34-48
Classifying, Policing, and Marking Traffic on SVIs by Using Hierarchical Policy Maps, page 34-52
Classifying, Policing, and Marking Traffic by Using Aggregate Policers, page 34-58
Step 7 show mls qos maps dscp-mutation Verify your entries.
Step 8 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose