map ip dscp (Interface Configuration)
This command sets IP DSCP priority (i.e., Differentiated Services Code Point
priority). Use the no form to restore the default table.
Syntax
map ip dscp dscp-value cos cos-value
no map ip dscp
• dscp-value - 8-bit DSCP value. (Range: 0-255)
• cos-value - Class-of-Service value (Range: 0-7)
Default Setting
The DSCP default values are defined in the following table. Note that all of the
DSCP values that are not specified are mapped to CoS value 0.
Table 3-6 Mapping IP DSCP to CoS Values
IP DSCP Value
0
8
10, 12, 14, 16
18, 20, 22, 24
26, 28, 30, 32, 34, 36
38, 40, 42
48
46, 56
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• The precedence for priority mapping is IP DSCP and default switchport
priority.
• DSCP priority values are mapped to default Class of Service values according
to recommendations in the IEEE 802.1p standard, and then subsequently
mapped to the four hardware priority queues.
• This command sets the IP DSCP priority for all interfaces.
Example
The following example shows how to map IP DSCP value 1 to CoS value 0.
Console(config)#interface ethernet 1/5
Console(config-if)#map ip dscp 1 cos 0
Console(config-if)#
Class of Service Commands
CoS Value
0
1
2
3
4
5
6
7
4
4-241