[Contents] [Prev] [Next] [Index] [Report an Error]

CLI Configuration Commands

The CLI configuration commands allow you to perform the same configuration tasks you can perform using the J-Web interface. Instead of invoking the tools through a graphical interface, you enter configuration mode commands to perform the tasks.

Table 8 provides a summary of the top-level CLI configuration commands.

Table 8: Top-Level CLI Configuration Commands

Command

Function

Managing the Configuration and Configuration Files

commit

Commit the set of configuration changes in the candidate configuration to take operational effect.

load

Load a configuration from an ASCII configuration file or from terminal input.

rollback

Return to a previously committed configuration.

save

Save the configuration to an ASCII file.

Modifying the Configuration and Its Statements

activate

Activate a previously deactivated statement or identifier.

annotate

Add a comment to a statement.

copy

Copy and add a statement to the configuration.

deactivate

Deactivate a statement or identifier.

delete

Delete a statement or identifier from the configuration.

insert

Insert an identifier into an existing hierarchy.

rename

Rename an existing statement or identifier.

set

Create a statement hierarchy and set identifier values.

Navigating the Configuration Hierarchy

edit

Move inside the specified statement hierarchy.

exit

Exit the current level of the statement hierarchy (same function as quit).

quit

Exit the current level of the statement hierarchy (same function as exit).

top

Return to the top level of configuration mode.

up

Move up one level in the statement hierarchy.

Miscellaneous

help

Provide help about statements.

run

Issue an operational mode command without leaving configuration mode.

show

Display the current configuration.

status

Display the users currently editing the configuration.

For more information about CLI configuration mode commands, see the JUNOS software configuration guides.

Filtering Configuration Command Output

Certain configuration commands, such as show commands, display output. You can filter or redirect the output to a file by including a vertical bar (|), called a pipe, when you enter the command. For more information, see the J-series Services Router Administration Guide.


[Contents] [Prev] [Next] [Index] [Report an Error]