Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

interfaces tunnel <tunx> mtu <mtu>

Sets the MTU size for a tunnel interface.

set interfaces tunnel tunx mtu mtu
delete interfaces tunnel tunx mtu [ mtu ]
show interfaces tunnel tunx mtu

Tunnel interface packets have an MTU size of 1476.

tunx
The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
mtu
The MTU size, in octets, for the tunnel interface. The size ranges from 68 through 65535. The default size is 1476.

Configuration mode


interfaces {
	tunnel tunx {
		mtu mtu
	}
}

Use this command to set the size of the maximum transfer unit (MTU) for encapsulated packets that traverse a tunnel.

This MTU size is applied to the packets that are embedded in the encapsulating protocol; it is not the size of the MTU of the “carrier” packets themselves. The MTU size of carrier packets is dictated by the size of the MTU of the physical interface that is transmitting and receiving the tunnel packets.

Use the set form of this command to set the MTU size for encapsulated packets traversing the tunnel.

Use the delete form of this command to restore the default MTU size, which is 1476, for encapsulated packets.

Use the show form of this command to display the MTU size for encapsulated packets.