120
Exiting the current view
The CLI is divided into different command views. Each view has a set of specific commands and defines
the effective scope of the commands. The commands available to you at any given time depend on the
view you are in.
Follow the step below to exit the current view:
To do…
Use the command…
Remarks
Return to the parent view from the
current view
quit
Required
Available in any view.
NOTE:
•
The
quit
command in user view terminates the current connection between the terminal and the device.
•
In public key code view, use the
public-key-code end
command to return to the parent view (public key
view). In public key view, use the
peer-public-key end
command to return to system view.
Returning to user view
This feature allows you to return to user view from any other view, without using the
quit
command
repeatedly. You can also press
Ctrl+Z
to return to user view from the current view.
Follow the step below to exit to user view:
To do…
Use the command…
Remarks
Return to user view
return
Required
Available in any view except user view
Using the CLI online help
Type a question mark (
?
) to obtain online help. See the following examples.
1.
Type
?
in any view to display all commands available in this view and brief descriptions of these
commands. For example:
<sysname> ?
User view commands:
archive Specify archive settings
backup Backup next startup-configuration file to TFTP server
boot-loader Set boot loader
bootrom Update/read/backup/restore bootrom
cd Change current directory
clock Specify the system clock
…Omitted…
2.
Type part of a command and a
?
separated by a space.
If
?
is at the position of a keyword, the CLI displays all possible keywords with a brief description for each
keyword. For example:
<sysname> terminal ?
debugging Send debug information to terminal