Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show cli



Display configured CLI settings.


This command has no options.

Required Privilege Level


Output Fields

Table 1 lists the output fields for the show cli command. Output fields are listed in the approximate order in which they appear.

Table 1: show cli Output Fields

Field Name

Field Description

CLI complete-on-space

Capability to complete a partial command entry when you type a space or a tab: on or off.

CLI idle-timeout

Maximum time that an individual session can be idle before the user is logged out from the router or switch. When this feature is enabled, the number of minutes is displayed. Otherwise, the state is disabled.

CLI restart-on-upgrade

CLI is set to prompt you to restart the router or switch after upgrading the software: on or off.

CLI screen-length

Number of lines of text that the terminal screen displays.

CLI screen-width

Number of characters in a line on the terminal screen.

CLI terminal

Terminal type.

CLI is operating in

Mode: enhanced.

CLI timestamp

Date and time format for the timestamp. If the timestamp is not set, the state is disabled.

CLI working directory

Pathname of the working directory.

Sample Output

show cli

Release Information

Command introduced before Junos OS Release 7.4.