29-53
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter29 Configuring QoS
Configuring Standard QoS
To return to the default map, use the no mls qos ip-prec-dscp global configuration command.
This example shows how to modify and display the IP-precedence-to-DSCP ma p:
Switch(config)# mls qos map ip-prec-dscp 10 15 20 25 30 35 40 45
Switch(config)# end
Switch# show mls qos maps ip-prec-dscp
IpPrecedence-dscp map:
ipprec: 0 1 2 3 4 5 6 7
--------------------------------
dscp: 10 15 20 25 30 35 40 45
Configuring the Policed-DSCP Map
You use the policed-DSCP map to mark down a DSCP value to a new value as the result of a policing
and marking action.
The default policed-DSCP map is a null map, which maps an incoming DSCP value to the same DSCP
value.
Beginning in privileged EXEC mode, follow these steps to modify the policed-DSCP map. This
procedure is optional.
To return to the default map, use the no mls qos policed-dscp global configuration command.
Step4 show mls qos maps ip-prec-dscp Verify your entries.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 mls qos map policed-dscp dscp-list to
mark-down-dscp
Modify the policed-DSCP map.
For dscp-list, enter up to eight DSCP values separated by spaces.
Then enter the to keyword.
For mark-down-dscp, enter the corresponding policed (marked down)
DSCP value.
Step3 end Return to privileged EXEC mode.
Step4 show mls qos maps policed-dscp Verify your entries.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.