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)#interface ethernet 1/5
Console(config-if)#map ip precedence 1 cos 0
Console(config-if)#
35-9
Example
The following example shows how to enable IP precedence mapping globally:
Console(config)#map ip precedence
Console(config)#
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.
Table 35-5 Mapping IP Precedence to CoS Values
IP Precedence Value
CoS Value
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
Priority Commands (Layer 3 and 4)
35