EasyManuals Logo
Home>Juniper>Software>JUNOS - NETWORK OPERATION GUIDE REV1

Juniper JUNOS - NETWORK OPERATION GUIDE REV1 User Manual

Juniper JUNOS - NETWORK OPERATION GUIDE REV1
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #681 background imageLoading...
Page #681 background image
CLI Configuration Mode ! 645
Appendix A: Command-Line Interface Overview
The CLI represents the statement path shown in Figure 235 as [protocols ospf area
area-number interface interface-name ], and displays the configuration as follows:
protocols {
ospf {
area 0.0.0.0 {
interface so-0/0/0 {
hello-interval 5;
}
interface so-0/0/1 {
hello-interval 5;
}
}
}
}
The CLI indents each level in the hierarchy to indicate each statement’s relative
position in the hierarchy and generally sets off each level 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 printed. Each leaf
statement ends with a semicolon. If the hierarchy does not extend as far as a leaf
statement, the last statement in the hierarchy ends with a semicolon.
The CLI uses this indented representation when it displays the current system
configuration, and you use this format when creating ASCII files that contain the
software configuration. However, the format of ASCII configuration files is not as
strict as the CLI output of the configuration. Although the braces and semicolons are
required, the indentation and use of new lines, as shown above, are not required in
ASCII configuration files.
Using the CLI Configuration Mode
This section describes how to use the CLI configuration mode. You can do the
following:
! Entering Configuration Mode on page 646
! Exiting Configuration Mode on page 647
! Moving Among Levels of the Hierarchy on page 647
! Displaying the Current Configuration on page 647
! Modifying the Configuration on page 649
! Removing a Statement on page 649
! Running Operational Mode CLI Commands from Configuration Mode on
page 649
! Displaying Configuration Mode Command History on page 650
! Committing a Configuration on page 650
! Saving a Configuration to a File on page 651

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Juniper JUNOS - NETWORK OPERATION GUIDE REV1 and is the answer not in the manual?

Juniper JUNOS - NETWORK OPERATION GUIDE REV1 Specifications

General IconGeneral
BrandJuniper
ModelJUNOS - NETWORK OPERATION GUIDE REV1
CategorySoftware
LanguageEnglish

Related product manuals