Configuring The Ip-Precedence-To-Dscp Map - Cisco WS-C3560-48PS-S Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Configuring Standard QoS
This example shows how to modify and display the CoS-to-DSCP map:
Switch(config)# mls qos map cos-dscp 10 15 20 25 30 35 40 45
Switch(config)# end
Switch# show mls qos maps cos-dscp
Cos-dscp map:

Configuring the IP-Precedence-to-DSCP Map

You use the IP-precedence-to-DSCP map to map IP precedence values in incoming packets to a DSCP
value that QoS uses internally to represent the priority of the traffic.
Table 28-13
Table 28-13 Default IP-Precedence-to-DSCP Map
IP precedence value
DSCP value
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 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:
Catalyst 3560 Switch Software Configuration Guide
28-48
cos:
0
1
2
3
4
--------------------------------
dscp:
10 15 20 25 30 35 40 45
shows the default IP-precedence-to-DSCP map:
0
1
0
8
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
5
6
7
2
3
4
16
24
32
5
6
7
Chapter 28
5
6
7
40
48
56
Configuring QoS
78-16156-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents