JUNOS Internet Software Network Operations Guide: Hardware
640 ! CLI Configuration Mode
Table 134 explains each CLI configuration mode command. The commands are
organized alphabetically.
Table 134: CLI Configuration Mode Commands
Command Description
activate Remove the inactive: tag from a statement, effectively reading the statement
or identifier to the configuration. Statements or identifiers that have been
activated take effect when you next issue the
commit command.
Syntax:
activate (statement-path | identifier)
annotate
Add comments to a configuration.
Syntax:
annotate statement-path "comment-string"
commit
Commit the set of changes to the database and cause the changes to take
operational effect.
Syntax:
commit <<at <string>> <and-quit> <check> <confirmed <minutes>>
<synchronize>
copy
Make a copy of an existing statement in the configuration.
Syntax:
copy existing-statement-path to new-statement-path
deactivate
Add the inactive: tag to a statement, effectively commenting out the statement
or identifier from the configuration. Statements or identifiers marked as
inactive do not take effect when you issue the
commit command.
Syntax:
deactivate (statement-path | identifier)
delete
Delete a statement or identifier. All subordinate statements and identifiers
contained within the specified statement path are deleted with it.
Syntax:
delete (statement-path | identifier)
edit
Move inside the specified statement hierarchy. If the statement does not exist,
it is created.
Syntax:
edit statement-path
exit
Exit the current level of the statement hierarchy, returning to the level prior to
the last edit command, or exit from configuration mode. The quit and exit
commands are synonyms.
Syntax:
exit (configuration-mode)
help
Display help about available configuration statements.
Syntax:
help (apropos | topic | reference) <string >
insert
Insert an identifier into an existing hierarchy.
Syntax:
insert (statement-path) identifier1 (before | after) identifier2
load
Load a configuration from an ASCII configuration file or from terminal input.
Your current location in the configuration hierarchy is ignored when the load
operation occurs.
Syntax:
load (merge | override | patch | replace) (filename | terminal)
quit
Exit the current level of the statement hierarchy, returning to the level prior to
the last edit command, or exit from configuration mode. The
quit and exit
commands are synonyms.
Syntax:
quit configuration-mode
rename
Rename an existing configuration statement or identifier.
Syntax:
rename <statement-path> identifier1 to identifier2