Priority Commands
4-197
4
Command Usage 
• The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, 
and default switchport priority. 
• IP Precedence and IP DSCP cannot both be enabled. Enabling one of these 
priority types will automatically disable the other type. 
Example 
The following example shows how to enable IP precedence mapping globally:
map ip precedence (Interface Configuration)
This command sets IP precedence priority (i.e., IP Type of Service priority). Use the 
no form to restore the default table.
Syntax 
map ip precedence ip-precedence-value cos cos-value
 
no map ip precedence
• precedence-value - 3-bit precedence value. (Range: 0-7) 
• cos-value - Class-of-Service value (Range: 0-7)
Default Setting 
The list below shows the default priority mapping.
Command Mode 
Interface Configuration (Ethernet, Port Channel)
Command Usage 
• The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, 
and default switchport priority.
• IP Precedence values are mapped to default Class of Service values on a 
one-to-one basis according to recommendations in the IEEE 802.1p standard, 
and then subsequently mapped to the eight hardware priority queues. 
• This command sets the IP Precedence for all interfaces.
Example 
The following example shows how to map IP precedence value 1 to CoS value 0:
Console(config)#map ip precedence
Console(config)#
Table 4-63.  Mapping IP Precedence to CoS Values
IP Precedence Value 01234567
CoS Value
01234567
Console(config)#interface ethernet 1/5
Console(config-if)#map ip precedence 1 cos 0
Console(config-if)#