tunnel tos

To configure a value to use for the TOS byte in the encapsulating IPv4 header when encapsulating a packet to send over the tunnel interface, enter this command in tunnel context. If no value is specified, the value of the TOS byte is determined from the traffic class field of the IPv6 header.

Syntax

tunnel tos [ 0 - 63|copy|use-gos ]

no tunnel tos [ 0 - 63|copy|use-gos ]

Description

Configures a value to use for the TOS byte.

Options

0 - 63

Range of static values.

copy

The TOS bits are copied from the IPv6 header. This is the default.

use-qos

Use the value returned by the QoS classifier.

Example input

Configuring a value for TOS

Switch(tunnel-3)# tunnel tos use-qos