Configuring Type of Service (TOS)

Using TOS, you can set the type of service for the IP data packets going out through an interface over a network.

Assign a value to set the TOS and the precedence bits of the IP header for outgoing packets. To set only TOS bits, use a value between 0 and 15. To set TOS and precedence bits, use a value between 0 and 127.

The valid range of values for TOS is from 0 to 127. Default value is 0, which indicates normal TOS. The four TOS bits are minimize delay (0x10), maximize throughput (0x08), maximize reliability (0x04), and minimize monetary cost (0x02).

This value is set only if TOS is enabled for this interface, otherwise, the TOS value set using SET options will be used. To see how to use SET options, see Configuration Using SET Options.

NOTE:  The TOS value for outgoing IP datagrams can be set by an application using the WINSOCK API SetSockOpt. The value set by an API takes the highest preference followed by the value set using the method shown in Assigning a TOS Value, and then the value set using SET options.


Enabling TOS

  1. Load INETCFG and then select Bindings > an existing binding > Expert TCP/IP Bind Options.

  2. Select TOS, then select Enabled.

  3. Press Esc until you are prompted to save your changes, and then select Yes.

  4. Press Esc to return to the Internetworking Configuration menu.

  5. If you want these changes to take effect immediately, select Reinitialize System > Yes.


Assigning a TOS Value

  1. Load INETCFG and then select Bindings > an existing binding > Expert TCP/IP Bind Options.

  2. Select TOS Value and then enter a value.

  3. Press Esc until you are prompted to save your changes, and then select Yes.

  4. Press Esc to return to the Internetworking Configuration menu.

  5. If you want these changes to take effect immediately, select Reinitialize System > Yes.



Previous | Next