tunnel tos
To specify the value of the TOS field in the tunnel encapsulating packets, use the tunnel tos command. To
return to the default TOS value, use the no form of this command.
tunnel tos tos_value
no tunnel tos tos_value
Syntax Description
Specifies the value of the TOS field in the tunnel encapsulating packets. The TOS
value ranges between 0 to 255.
tos_value
Command Default
Copies the TOS/COS bits of the internal IP header to the GRE IP header. In case of labeled payload, EXP
bits are copied to TOS bits of the GRE IP header.
Command Modes
interface configuration
Command History
ModificationRelease
This command was introduced.Release 4.2.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Task ID
OperationsTask ID
read, writeinterface
Examples
The following example shows how to configure interface tunnel:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface tunnel-ip 400
RP/0/RSP0/CPU0:router(config-if)# tunnel tos 100
Related Commands
DescriptionCommand
Specifies a tunnel interface's destination address.tunnel destination, on page 43
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
55
Generic Routing Encapsulation Commands
tunnel tos