2-219
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
qos map cos
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.
qos map cos cos_values to dscp dscp1
no qos map cos to dscp
Syntax Description
Defaults The default CoS-to-DSCP configuration settings are shown in the following table:
Command Modes Global configuration
Command History
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
cos_values CoS values, list up to eight CoS values separated by spaces.
to dscp Defines mapping and specifies DSCP value.
dscp1 DSCP value to map to the CoS values; valid values are from 0 to 63.
CoS
0 1 2 3 4 5 6 7
DSCP
0 8 16 24 32 40 48 56
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.