You configure the JUNOS software by entering configuration mode and creating a hierarchy of configuration mode statements.
When you enter configuration mode, the following configuration mode commands are available:
- user@host> configure
- entering configuration mode
- [edit]
- user@host# ?
- Possible completions:
<[Enter]> Execute this commandactivate Remove the inactive tag from a statementannotate Annotate the statement with a commentcommit Commit current set of changescopy Copy a statementdeactivate Add the inactive tag to a statementdelete Delete a data elementedit Edit a sub-elementexit Exit from this levelhelp Provide help informationinsert Insert a new ordered data elementload Load configuration from an ASCII filequit Quit from this levelrename Rename a statementrollback Roll back database to last committed versionrun Run an operational-mode commandsave Save configuration to an ASCII fileset Set a parametershow Show a parameterstatus Display database user status top Exit to top level of configurationup Exit one level of configuration
Users must have configure permission to view and use the configure command. When in configuration mode, a user can view and modify only those statements for which they have access privileges set. For more information, see the JUNOS System Basics Configuration Guide.
- user@host> configure
- Entering configuration mode
- Current configuration users:
- root terminal p3 (pid 1088) on since 1999-05-13 01:03:27
EDT
- [edit interfaces so-3/0/0 unit 0 family inet]
- The configuration has been changed but not committed
- [edit]
- user@host#
Up to 32 users can be in configuration mode simultaneously, and they all can make changes to the configuration at the same time. For more information, see When Multiple Users Configure the Software.
- [edit protocols ospf area 0.0.0.0 interface so-0/0/0]
- user@host# exit configuration-mode
- exiting configuration mode
- user@host>
If you try to exit from configuration mode using the exit command and the configuration contains changes that have not been committed, you see a message and prompt: