Back

CLI Operational Mode Commands  |   Commands Hierarchy

CLI Configuration Mode Top-Level Commands

In configuration mode, you configure the JUNOS software by creating a hierarchy of configuration statements.

Command Description

annotate

Add comments to a configuration.

Syntax supported: annotate <statement-path> "comment-string"

commit

Commit the set of changes to the database and cause the changes to take operational effect.

Syntax supported: commit

copy

Make a copy of an existing statement in the configuration.

Syntax supported: copy <statement-path> identifier 1 to identifier 2

delete

Delete a statement or identifier. All subordinate statements and identifiers contained within the specified statement path are deleted with it.

Syntax supported:  delete (statement-path | identifier)

edit

Move inside the specified statement hierarchy. If the statement does not exist, it is created.

Syntax supported:  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 supported:  exit

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 supported:  load filename

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 supported:  quit

rename

Rename an existing configuration statement or identifier.

Syntax supported:  rename <statement-path> identifier1 to identifier2

rollback

Return to a previously committed configuration.

Syntax supported:  rollback

run

Run an operational mode CLI command without exiting from configuration mode.

Syntax supported:  run <operation-command>

save

Save the configuration to an ASCII file in the user's home directory

Syntax supported:  save filename

set

This is similar to the edit command except that your current level in the hierarchy does not change.

Syntax supported:  set (statement-path | identifier )

top

Return to the top level of configuration command mode, indicated by the [edit] banner, or execute a command from the top level of the configuration.

Syntax supported:  top <configuration-command>

up

Move up one level in the statement hierarchy.

Syntax supported:  up

Back


CertExams Blog!  Certexams.com Facebook Page Certexams.com Twitter Page Certexams on YouTube