20-40
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter20 Co nf iguring QoS
Configuring QoS
This example shows how to modify and display the CoS-to-DSCP map:
Switch# configure terminal
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:
cos: 0 1 2 3 4 5 6 7
--------------------------------
dscp: 10 15 20 25 30 35 40 45
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.
Table20-4 shows the default IP-precedence-to-DSCP map:
If these values are not appropriate for your network, you ne ed t o m odify the m.
Beginning in privileged EXEC mode, follow these steps to modify the IP-precedence-to-DSCP map:
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 m ap:
Switch# configure terminal
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
Table20-4 Default IP-Precedence-to-DSCP Map
IP precedence value 0 1 2 3 4 5 6 7
DSCP value 0 8 16 24 32 40 48 56
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 mls qos map ip-prec-dscp
dscp1...dscp8 Modify the IP-precedence-to-DSCP map.
For dscp1...dscp8, enter 8 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.
Step3 end Return to privileged EXEC mode.
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.