Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

set cli idle-timeout

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
set cli idle-timeout <minutes>

Description

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.

Options

minutes

(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

view

Output Fields

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

Sample Output

set cli idle-timeout

content_copy zoom_out_map
user@host> set cli idle-timeout 60
Idle timeout set to 60 minutes

Release Information

Command introduced before Junos OS Release 7.4.

external-footer-nav