Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Command-Line Interface Operational Mode Commands

    Table 1 summarizes the command-line interface (CLI) commands you can use to perform and monitor CLI management functions. Commands are listed in alphabetical order.

    Table 1: CLI Operational Mode Commands

    Task

    Command

    Clear the logical system view and return to a full router view.

    clear cli logical-system

    Set the CLI to complete partial command entries.

    set cli complete-on-space

    Set the current working directory.

    set cli directory

    Set the maximum time that an individual session can be idle before the user is logged off the router.

    set cli idle-timeout

    Set the CLI to the specified logical routing instance.

    set cli logical-system

    Set the CLI prompt.

    set cli prompt

    Set the CLI to prompt you to restart the router after a software upgrade.

    set cli restart-on-upgrade

    Set the number of lines on the screen.

    set cli screen-length

    Set the number of characters on a line.

    set cli screen-width

    Set the terminal type.

    set cli terminal

    Timestamp CLI output.

    set cli timestamp

    Set the system date and time.

    set date

    Display all CLI settings.

    show cli

    Display login permissions for the current user.

    show cli authorization

    Display the current working directory.

    show cli directory

    Display a list of previous CLI commands.

    show cli history

    Note: For information about how to configure CLI parameters, see the CLI User Guide.

    For information about related tasks performed by network operations center (NOC) personnel, see the Junos Baseline Network Operations Guide.

    Published: 2013-03-14