Using the CLI Editor to Edit Configuration Text

Use the CLI Editor to edit the configuration if you know the Junos OS CLI or prefer a command interface.

To edit the entire configuration in text format:

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

  1. Select Configure > CLI Tools > CLI Editor. The main pane displays the configuration in a text editor.
  2. Navigate to the hierarchy level you want to edit.

    You can edit the candidate configuration using standard text editor operations—insert lines (press the Enter key), delete lines, and modify, copy, and paste text.

  3. Click Commit to load and commit the configuration.

    The switching platform checks the configuration for the correct syntax before committing it.

Related Documentation