[Prev][Next][Report an Error]

Edit Configuration Text

To edit the entire configuration in text format, select Configure>CLI Tools>CLI Editor. The main pane displays the configuration in a text editor (see Figure 53).

Figure 53: Edit Configuration Text Page

Edit Configuration Text
Page

For more information about the format of an ASCII configuration file, see View Configuration Text.

Caution: We recommend that you use this method to edit and commit the configuration only if you have experience editing configurations through the CLI.

To edit the entire configuration in text format:

  1. Navigate to the hierarchy level you want to edit.
  2. Edit the candidate configuration using standard text editor operations—insert lines (with the Enter key), delete lines, and modify, copy, and paste text.
  3. Click Commit to load and commit the configuration.

    The device checks the configuration for the correct syntax before committing it.

When you edit the ASCII configuration file, you can add comments of one or more lines. Comments must precede the statement they are associated with. If you place the comments in other places in the file, such as on the same line after a statement or on a separate line following a statement, they are removed when you click Commit. Comments must begin and end with special characters. For more information, see the JUNOS CLI User Guide.


[Prev][Next][Report an Error]