Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


set cli idle-timeout



Set the maximum time that an individual session can be idle before the user is logged off the router or switch. set cli idle-timeout holds good only for the session in use when you enter it. If you need to configure the idle timeout permanently for all the CLI sessions, then configure the idle-timeout statement at the [edit system login] hierarchy level.



(Optional) Maximum idle time. The range of values, in minutes, is 0 through 100,000. If you do not issue this command, and the user’s login class does not specify this value, the user is never forced off the system after extended idle times. Setting the value to 0 disables the timeout.

Required Privilege Level


Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

set cli idle-timeout

Release Information

Command introduced before Junos OS Release 7.4.