Command Line Interface
4-256
4
www.digisol.com
Example
The following example shows how to map IP precedence value 1 to CoS value 0
and enable the feature on the switch.
map ip tos
Use this command to enable and set IP TOS priority mapping (i.e., IP Type of
Service priority mapping). Use the no form to disable the feature or restore a default
setting.
Syntax
map ip tos [tos-value cos cos-queue]
no map ip tos [tos-value]
• tos-value - 4-bit TOS value. (Range: 0-15)
• cos-queue - Port Class-of-Service queue. (Range: 0-3)
Default Setting
Status: Disabled
The TOS default values are defined in the following table. All the TOS values
not defined are mapped to CoS queue 0.
Command Mode
Global Configuration
Command Usage
• The command map ip tos enables the feature on the switch. The command
map ip tos tos-value cos cos-queue maps IP TOS values to port CoS
queues.
• The precedence for priority mapping is IP Port, IP Precedence/DSCP/TOS,
and default switchport priority.
• This command sets the IP TOS priority for all interfaces.
• IP Precedence, IP DSCP, and IP TOS Priority cannot all be enabled at the
same time. Enabling one of these priority types automatically disables the
others.
Console(config)#map ip precedence 1 cos 0
Console(config)#map ip precedence
Table 4-72 IP TOS to CoS Queue
IP TOS Value Requested Service Default CoS Output Queue
0Normal service0
1 Minimize monetary cost 0
2 Maximize reliability 1
4 Maximize throughput 2
8 Minimize delay 3