Map ip tos – PLANET SGSD-1022 User Manual

Page 632

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P

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.

IP TOS Value

Requested Service

Default CoS Output Queue

0 Normal

service

0

1

Minimize monetary cost

0

2 Maximize

reliability

1

4 Maximize

throughput

2

8 Minimize

delay

3

Table 5-82 Mapping IP TOS to CoS Queues

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.

Example

The following example shows how to map IP TOS value 0 to CoS value 1 and enable the feature on the switch.

Console(config)#map ip tos 0 cos 1

Console(config)#map ip tos

632

Advertising
This manual is related to the following products: