2-220
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
qos map dscp
qos map dscp
To map DSCP values to selected transmit queues and to map the DSCP-to-CoS value, use the qos map
dscp command. To return to the default value, use the no form of this command.
qos map dscp dscp-values to tx-queue queue-id
no qos map dscp dscp-values to cos cos-value
Syntax Description
Defaults The default DSCP-to-CoS configuration settings are shown in the following table:
Command Modes Global configuration
Command History
Usage Guidelines You use the DSCP-to-CoS map to map the final DSCP classification to a final CoS. The CoS map is
written into the ISL header or 802.1Q tag of the transmitted packet on trunk interfaces and contains a
table of 64DSCP values and the corresponding CoS values. The switch has one map. You can enter up
to eight DSCP values, separated by spaces, for a CoS value.
The DSCP-to-transmit-queue map is used to map the final DSCP classification to a transmit queue. You
can enter up to eight DSCP values, separated by spaces, for a transmit queue.
Examples This example shows how to configure the egress DSCP-to-CoS mapping:
Switch(config)# qos map dscp 20 25 to cos 3
Switch(config)#
dscp-values List of DSCP values to map to the queue ID; valid values are from 0 to 63.
to Defines mapping.
tx-queue Specifies a transmit queue.
queue-id Transmit queue; valid values are from 1 to 4.
cos Specifies the CoS value.
cos-value Class of service; valid values are from 1 to 7.
DSCP
0-7 8-15 16-23 24-31 32-39 40-47 48-55 56-63
CoS
0 1 2 3 4 5 6 7
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.