Editing a Configuration

To edit the configuration on a series of pages of clickable options that step you through the hierarchy, select Configuration>View and Edit>Edit Configuration.

To expand or hide the hierarchy of all the statements in the side pane, click Expand all or Hide all. To expand or hide an individual statement in the hierarchy, click the expand (+) or collapse () icon to the left of the statement.

Note: Only those statements included in the committed configuration are displayed in the hierarchy.

The configuration information in the main pane consists of configuration options that correspond to configuration statements. Configuration options that contain subordinate statements are identified by the term Nested configuration.

To include, edit, or delete statements in the candidate configuration, click one of the links described in Table 112 in the main pane. Then specify configuration information by typing into a field, selecting a value from a list, or clicking a check box (toggle).

Link

Function

Add new entry

Displays fields and lists for a statement identifier, allowing you to add a new identifier to a statement.

Configure

Displays information for a configuration option that has not been configured, allowing you to include a statement.

Delete

Deletes the corresponding statement or identifier from the configuration. All subordinate statements and identifiers contained within a deleted statement are also discarded.

Edit

Displays information for a configuration option that has already been configured, allowing you to edit a statement.

identifier

Displays fields and lists for an existing statement identifier, allowing you to edit the identifier.

As you navigate through the configuration, the hierarchy level is displayed at the upper right of the main pane. You can click a statement or identifier in the hierarchy to return to the corresponding configuration options in the main pane.

The main pane includes icons that display information about statements and identifiers when you place your cursor over them. Table 113 describes the meaning of these icons.

Table 113: J-Web Edit Configuration Icons

Icon

Meaning

C

Displays a comment about a statement.

I

Indicates that a statement is inactive.

M

Indicates that a statement has been added or modified, but has not been committed.

*

Indicates that the statement or identifier is required in the configuration.

?

Provides help information.

Note: You can annotate statements with comments or make them inactive only through the CLI. For more information, see the Junos OS CLI User Guide.

After typing or selecting your configuration edits, click a button in the main pane (described in Table 114) to apply your changes or cancel them, refresh the display, or discard parts of the candidate configuration. An updated configuration does not take effect until you commit it.

Table 114: J-Web Edit Configuration Buttons

Button

Function

OK

Applies edits to the candidate configuration, and returns you to the previous level in the configuration hierarchy.

Cancel

Clears the entries you have not yet applied to the candidate configuration, and returns you to the previous level in the configuration hierarchy.

Refresh

Updates the display with any changes to the configuration made by other users.

Commit

Verifies edits and applies them to the current configuration file running on the device.

Discard

Removes edits applied to, or deletes existing statements or identifiers from, the candidate configuration.