Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

idle-timeout (System)

Syntax

Hierarchy Level

For root users:

For non-root users:

Description

Configure the maximum time for which the C shell or CLI session can be idle. The root user is logged out of the CLI session after the expiry of idle-timeout and is logged out of the C shell after the expiry of another idle-timeout. For instance, if you configure idle-timeout as 5 minutes, the root user is logged out of the system after 10 minutes.

Note:

This config knob is applicable only for root user. To enable idle-timeout for non-root user, refer to Configure the Timeout Value for Idle Login Sessions.

The set system login idle-timeout is a global setting that applies to the default class and the custom class. If an ideal-timeout is configured for any custom class, it would override the global setting of its user.

Options

idle-timeout

Maximum idle time for root users before logout.

  • Range: 1 through 60 minutes

Note:

Although you can set the idle-timeout to 1 minute, it is recommended to set it to 2 minutes or more for proper operation.

Maximum idle time out for non-root users before logout.

  • Range: Any configured minutes

Required Privilege Level

admin—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 16.1.