Related Documentation
- EX Series
- idle-timeout
- M Series
- Defining Junos OS Login Classes
- idle-timeout
- MX Series
- Defining Junos OS Login Classes
- idle-timeout
- PTX Series
- Defining Junos OS Login Classes
- idle-timeout
- QFX Series
- idle-timeout
- SRX Series
- idle-timeout
- T Series
- Defining Junos OS Login Classes
- idle-timeout
Configuring the Timeout Value for Idle Login Sessions
An idle login session is one in which the CLI operational mode prompt is displayed but there is no input from the keyboard. By default, a login session remains established until a user logs out of the router or switch, even if that session is idle. To close idle sessions automatically, you must configure a time limit for each login class. If a session established by a user in that class remains idle for the configured time limit, the session automatically closes.
To define the timeout value for idle login sessions, include the idle-timeout statement at the [edit system login class class-name] hierarchy level:
Specify the number of minutes that a session can be idle before it is automatically closed.
If you have configured a timeout value, the CLI displays messages similar to the following when timing out an idle user. It starts displaying these messages 5 minutes before timing out the user.
If you configure a timeout value, the session closes after the specified time has elapsed, unless the user is running telnet or monitoring interfaces using the monitor interface or monitor traffic command.
Related Documentation
- EX Series
- idle-timeout
- M Series
- Defining Junos OS Login Classes
- idle-timeout
- MX Series
- Defining Junos OS Login Classes
- idle-timeout
- PTX Series
- Defining Junos OS Login Classes
- idle-timeout
- QFX Series
- idle-timeout
- SRX Series
- idle-timeout
- T Series
- Defining Junos OS Login Classes
- idle-timeout

