To edit the entire configuration in text format, select Configure>CLI Tools>CLI Editor.
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:
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 OS CLI User Guide.