Technical Documentation

CLI Viewer (View Configuration Text)

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

Figure 1: View Configuration Text Page

Image s041299.gif

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 1 shows that user regress committed the last configuration on 23 December 2008, and the software version running on the routing platform is JUNOS Release 9.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.


Published: 2010-04-29