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.


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

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


Configures a value to use for the TOS byte.


0 - 63

Range of static values.


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


Use the value returned by the QoS classifier.

Example input

Configuring a value for TOS

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