Help Center User GuideGetting Started
 
X
User Guide
Getting Started
Contents  

Edit CLI Configuration

About CLI Editor Page

You are here: Device Administration > Tools > CLI Editor.

You can configure all routing platform services that you can configure from the Junos CLI prompt.

Procedure

To edit the CLI configuration:

  1. Navigate to the hierarchy level you want to edit. Edit the candidate configuration using standard text editor operations—insert lines (with the Enter key), delete lines, modify, copy, and paste text.
  2. Click Commit to load and commit the configuration. This saves the edited configuration, which replaces the existing configuration. The device checks the configuration for the correct syntax before committing it. If any errors occur when the configuration is loading or committed, they are displayed and the previous configuration is restored.
  3. Click one:
    • OK—Saves the configuration and returns to the CLI Editor page.

    • Commit Options>Commit—Commits the configuration and returns to the CLI Editor page.

    • Cancel—Cancels your entries and returns to the CLI Editor page.

    Note 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.

Help us to improve. Rate this article.
Feedback Received. Thank You!

Ask questions in TechWiki

Check documentation in TechLibrary

Rating by you:      
X

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
Email:

Need product assistance? Contact Juniper Support

Submit