2-287
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
mls qos map
The default policed-DSCP map is a null map, which maps an inbound DSCP value to the same DSCP
value.
Command Modes
Global configuration
Command History
Usage Guidelines
All the maps are globally defined. All the maps, except the DSCP-to-DSCP-mutation map, are applied
to all ports. The DSCP-to-DSCP-mutation map is applied to a specific port.
Examples
This example shows how to define the IP-precedence-to-DSCP map and to map IP-precedence values 0
to 7 to DSCP values of 0, 10, 20, 30, 40, 50, 55, and 60:
Switch(config)#
mls qos map ip-prec-dscp 0 10 20 30 40 50 55 60
This example shows how to define the policed-DSCP map. DSCP values 1, 2, 3, 4, 5, and 6 are marked
down to DSCP value 0. Marked DSCP values that not explicitly configured are not modified.
Switch(config)#
mls qos map policed-dscp 1 2 3 4 5 6 to 0
This example shows how to define the DSCP-to-CoS map. DSCP values 20, 21, 22, 23, and 24 are
mapped to CoS 1. DSCP values 10, 11, 12, 13, 14, 15, 16, and 17 are mapped to CoS 0.
Switch(config)#
mls qos map dscp-cos 20 21 22 23 24 to 1
Switch(config)#
mls qos map dscp-cos 10 11 12 13 14 15 16 17 to 0
This example shows how to define the CoS-to-DSCP map. CoS values 0 to 7 are mapped to DSCP values
0, 5, 10, 15, 20, 25, 30, and 35.
Switch(config)#
mls qos map cos-dscp 0 5 10 15 20 25 30 35
This example shows how to define the DSCP-to-DSCP-mutation map. All the entries that are not
explicitly configured are not modified (remain as specified in the null map).
Switch(config)#
mls qos map dscp-mutation mutation1 1 2 3 4 5 6 7 to 10
Switch(config)#
mls qos map dscp-mutation mutation1 8 9 10 11 12 13 to 10
Switch(config)#
mls qos map dscp-mutation mutation1 20 21 22 to 20
Switch(config)#
mls qos map dscp-mutation mutation1 0 31 32 33 34 to 30
You can verify your settings by entering the
show mls qos maps
privileged EXEC command.
Related Commands
Release
Modification
12.1(14)AX
This command was introduced.
Command
Description
Applies a DSCP-to-DSCP-mutation map to a DSCP-trusted port.
Displays quality of service (QoS) mapping information.