Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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 OS CLI command show configuration.

Figure 1: View Configuration Text Page

View Configuration Text
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 1 shows that the user committed the last configuration on 11 January 2010, and the software version running on the routing platform is Junos OS Release 10.1.

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.

Modified: 2016-07-08

Modified: 2016-07-08