Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


idle-timeout (L2TP)


Hierarchy Level


Specify how long a tunnel is active after its last session is terminated. The timer starts when the session is terminated and the tunnel is disconnected when the timer expires.

Best Practice:

Before you downgrade to a Junos OS Release that does not support this statement, unconfigure the statement by issuing no services l2tp tunnel idle-timeout.


seconds—Length of the idle timeout. A value of 0 creates a persistent tunnel; that is, the tunnel remains active indefinitely until the remote peer disconnects it or you issue the clear services l2tp tunnel command.

  • Range: 0 through 86,400

  • Default: 60

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.1.