home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

interfaces tunnel <tunx> parameters ip tos <tos>

Specifies the value to write into the Type of Service (ToS) byte of the IP header of a tunnel packet.

set interfaces tunnel tunx parameters ip tos tos
delete interfaces tunnel tunx parameters ip tos [ tos ]
show interfaces tunnel tunx parameters ip tos

The default value is 0.

tunx
The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
tos
The value to write into the ToS byte in the IP header of a tunnel packet (the carrier packet). The value ranges from 0 through 99, where 0 means a tunnel packet copies the ToS value from the packet being encapsulated (the passenger packet).

Configuration mode


interfaces {
	tunnel tunx {
		parameters { 
			ip {
				tos tos
			}
		}
	}
}

Use this command to specify the value to write into the 8-bit ToS byte of the IP header for a packet that traverses a tunnel interface. The ToS byte of the IP header of a packet specifies the forwarding behavior to be applied to the packet.

Use the set form of this command to specify the ToS value.

Use the delete form of this command to restore the default behavior for the ToS byte, that is, the ToS byte of the encapsulated packet is copied into the IP header of the tunnel packet.

Use the show form of this command to display the current value for the ToS byte.