JUNOS Internet Software Network Operations Guide: Hardware
636 ! CLI Operational Mode
Entering the CLI Operational Mode
To enter the JUNOS software CLI, use the following command:
user@host> cli
You are in the CLI when you see the > prompt, which is preceded by a string that
defaults to the name of the user and the name of the router. For example:
user@host>
Getting Help on Commands at a Hierarchy Level
The CLI provides context-sensitive help at every level of the command hierarchy.
The help information tells you which commands are available at the current level in
the hierarchy and provides a brief description of each.
To get help while in the CLI, type
?. You do not need to press Enter after typing the
question mark. You have the following options:
! If you type the question mark at the command-line prompt, the CLI lists the
available commands and options.
! If you type the question mark after entering the complete name of a command
or command option, the CLI lists the available commands and options, then
redisplays the command names and options that you typed.
! If you type the question mark in the middle of a command name, the CLI lists
possible command completions that match the letters you have entered so far,
then redisplays the letters that you typed.
Getting Help About Commands
To get help about operational mode CLI commands, you can do the following:
! Listing Top-Level Operational Mode CLI Commands on page 637
! Listing CLI Commands That Start with a Particular Letter on page 637
! Listing All Available Commands of a Particular Type on page 637