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 ipv6 tclass <class>

Sets the value to write into the tclass byte of the IPv6 header of a tunnel packet.

set interfaces tunnel tunx parameters ipv6 tclass 0-0xff
delete interfaces tunnel tunx parameters ipv6 tclass [ 0-0xff ]
show interfaces tunnel tunx parameters ipv6 tclass

The default value is inherit.

tunx
The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
0-0xff
The value to write into the tclass byte in the IPv6 header of a tunnel packet (the carrier packet). The value ranges from 0 through 0xff, where 0 means a tunnel packet copies the tclass byte from the packet being encapsulated (the passenger packet).
inherit
The default traffic class of the encapsulating IPv6 header.

Configuration mode


interfaces {
	tunnel tunx {
		parameters { 
			ipv6 {
				tclass 0-0xff
			}
		}
	}
}

The tclass byte of the encapsulated packet is copied into the tclass byte of the IPv6 header of a tunnel packet. The tclass byte of the IPv6 header of a packet specifies the forwarding behavior to be applied to the packet.

Use the set form of this command to set the value to write into the tclass byte of the IPv6 header for a packet that traverses a tunnel interface.

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

Use the show form of this command to display the current tclass value to write into the IPv6 header of a tunnel packet.