C
HAPTER
37
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 882 –
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)#interface ethernet 1/5
Console(config-if)#map ip precedence 1 cos 0
Console(config-if)#
Table 110: Mapping IP Precedence to CoS Values
IP Precedence Value 01234567
CoS Value 01234567