Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
33-63
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 33 Configuring QoS
Configuring Standard QoS
Beginning in privileged EXEC mode, follow these steps to modify the IP-precedence-to-DSCP map.
This procedure is optional.
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:
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.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
mls qos map ip-prec-dscp
dscp1...dscp8
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.
Step 3
end Return to privileged EXEC mode.
Step 4
show mls qos maps ip-prec-dscp Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
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.
Step 3
end Return to privileged EXEC mode.
Step 4
show mls qos maps policed-dscp Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.