Chapter 33
Configuring QoS
Beginning in privileged EXEC mode, follow these steps to modify the IP-precedence-to-DSCP map.
This procedure is optional.
Command
Step 1
configure terminal
Step 2
mls qos map ip-prec-dscp
dscp1...dscp8
Step 3
end
Step 4
show mls qos maps ip-prec-dscp
Step 5
copy running-config startup-config
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 map:
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:
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.
Command
Step 1
configure terminal
Step 2
mls qos map policed-dscp dscp-list to
mark-down-dscp
Step 3
end
Step 4
show mls qos maps policed-dscp
Step 5
copy running-config startup-config
OL-26520-01
Purpose
Enter global configuration mode.
Modify the IP-precedence-to-DSCP map.
For dscp1...dscp8, enter eight DSCP values that correspond to the IP
precedence values 0 to 7. Separate each DSCP value with a space.
The DSCP range is 0 to 63.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
ipprec:
0
1
2
3
4
--------------------------------
dscp:
10 15 20 25 30 35 40 45
Purpose
Enter global configuration mode.
Modify the policed-DSCP map.
•
•
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
5
6
7
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.
Configuring Standard QoS
33-67