Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
qos map cos
To define the ingress CoS-to-DSCP mapping for trusted interfaces, use the qos map cos command. To
remove a prior entry, use the no form of this command.
Syntax Description
cos_values
to dscp
dscp1
Defaults
The default CoS-to-DSCP configuration settings are shown in the following table:
CoS
DSCP
Command Modes
Global configuration
Command History
Release
12.1(8a)EW
Usage Guidelines
The CoS-to-DSCP map is used to map the packet CoS (on interfaces configured to trust CoS) to the
internal DSCP value. This map is a table of eight CoS values (0 through 7) and their corresponding
DSCP value. The switch has one map.
Examples
This example shows how to configure the ingress CoS-to-DSCP mapping for cos 0:
Switch(config)# qos map cos 0 to dscp 20
Switch(config)#
This example shows how to disable the ingress CoS-to-DSCP mapping for cos 0:
Switch(config)# no qos map cos 0 to dscp 20
Switch(config)#
Related Commands
qos map dscp
qos map dscp policed
show qos
78-16201-01
qos map cos cos_values to dscp dscp1
no qos map cos to dscp
CoS values, list up to eight CoS values separated by spaces.
Defines mapping and specifies DSCP value.
DSCP value to map to the CoS values; valid values are from 0 to 63.
0
1
2
3
4
0
8
16
24
32
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
5
6
7
40
48
56
qos map cos
2-219