Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show cli

List of Syntax

Syntax
Syntax (QFX Series)

Syntax

show cli

Syntax (QFX Series)

show cli<authorization><directory><history count>

Release Information

Command introduced before Junos OS Release 7.4.

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

Command introduced in Junos OS Release 11.1 for the QFX Series.

Description

Display configured CLI settings.

Options

This command has no options.

Required Privilege Level

view

List of Sample Output

show cli

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

user@host> show cli
CLI complete-on-space set to on
CLI idle-timeout disabled
CLI restart-on-upgrade set to on
CLI screen-length set to 47
CLI screen-width set to 132
CLI terminal is 'vt100'
CLI is operating in enhanced mode
CLI timestamp disabled
CLI working directory is '/var/tmp'

Modified: 2016-06-10

Modified: 2016-06-10