View Configuration Text

To view the entire configuration in text format, select Configure > CLI Tools > CLI Viewer. The CLI Viewer page displays the configuration in text format (see Figure 13). The displayed configuration is the same as the configuration displayed when you enter the Junos CLI command show configuration.

After you make changes to the configuration in this window, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

Figure 13: CLI Viewer Page

CLI Viewer Page

The configuration statements appear in a fixed order, irrespective of the order in which you configured the routing platform. The top of the configuration displays a timestamp indicating when the configuration was last changed and the current version. Figure 13 shows that user regress committed the last configuration on 01 September 2010, and the software version running on the routing platform is Junos OS Release 10.4.

Each level in the hierarchy is indented to indicate each statement's relative position in the hierarchy. Each level is generally set off with braces, using an open brace ({) at the beginning of each hierarchy level and a closing brace (}) at the end. If the statement at a hierarchy level is empty, the braces are not displayed. Each leaf statement ends with a semicolon (;), as does the last statement in the hierarchy.

This indented representation is used when the configuration is displayed or saved as an ASCII file. However, when you load an ASCII configuration file, the format of the file is not so strict. The braces and semicolons are required, but the indention and use of new lines are not required in ASCII configuration files.