This article describes Junos OS CLI modes and features.
For other topics, go to the SRX Getting Started main page.
Understand CLI modes and features.
This section contains the following:
If you log in to the device as the root user, you enter the UNIX shell, which is indicated by the percent sign (%) as the prompt. To access the Junos CLI, enter the cli command at the shell prompt:
cli
root% cli user@host>
The Junos CLI has two modes:
After logging in, you enter operational mode, which is indicated by the right angle bracket (>):
user@host>
Configuration Mode
From operational mode, use the configure command to enter configuration mode, which is indicated by the pound sign (#):
configure
user@host> configure [edit] user@host#
To exit configuration mode and go back to operational mode, enter exit at the prompt:
exit
user@host# exit user@host>
set
delete
show
commit
copy
rename
For a complete list of configuration mode commands, see Junos OS CLI Configuration Mode .
?
Possible completions: clear Clear information in the system configure Manipulate software configuration information file Perform file operations
...
clear ?
Possible completions: arp Clear address resolution information auto-configuration Clear auto-configuration action bfd Clear Bidirectional Forwarding Detection information bgp Clear Border Gateway Protocol information
2020-09-30: Minor, non-technical edits.