Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

idle-timeout (System-Login)

 

Syntax

Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Description

For a login class, configure the maximum time that a session can be idle before the user is logged out of the router or switch. The session times out after remaining at the CLI operational mode prompt for the specified time.

Default

If you omit this statement, a user is never forced off the system after extended idle times.

Note

After you log in to a device from a shell prompt such as csh, if you start another program to run in the foreground of the CLI, the idle timer control is stopped from being computed. The calculation of idle time of the CLI session is restarted only after the foreground process exits and the control is returned to the shell prompt. When the restart of the idle-timer occurs, if no interaction from the user occurs on the shell, the user is automatically logged out after the expiry of the idle timeout value.

Options

minutes—Maximum idle time.

Range: 0 through 4294967295 minutes

Note

The timeout feature is disabled if the value of minutes is set to 0.

Required Privilege Level

admin—To view this statement in the configuration.

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