Configuring The Cos-To-Dscp Map - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 29
Configuring QoS

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.
Table 29-7
Table 29-7
CoS Value
0
1
2
3
4
5
6
7
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:
Command
Step 1
configure terminal
Step 2
mls qos map cos-dscp dscp1...dscp8
Step 3
end
Step 4
show mls qos maps cos-dscp
Step 5
copy running-config startup-config
To return to the default map, use the no mls qos map cos-dscp global configuration command.
This example shows how to modify and display the CoS-to-DSCP map:
Switch# configure terminal
Switch(config)# mls qos map cos-dscp 8 8 8 8 24 32 56 56
Switch(config)# end
Switch# show mls qos maps cos-dscp
Cos-dscp map:
78-11380-12
shows the default CoS-to-DSCP map.
Default CoS-to-DSCP Map
DSCP Value
0
8
16
24
32
40
48
56
Purpose
Enter global configuration mode.
Modify the CoS-to-DSCP map.
For dscp1...dscp8, enter 8 DSCP values that correspond to CoS values 0
to 7. Separate each DSCP value with a space.
The supported DSCP values are 0, 8, 10, 16, 18, 24, 26, 32, 34, 40, 46, 48,
and 56.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
cos:
0
1
2
3
4
--------------------------------
dscp:
8
8
8
8 24 32 56 56
5
6
7
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Configuring Standard QoS
29-35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents