Technical Documentation

Notational Conventions Used in Junos Configuration Hierarchies

When you are working in configuration mode, the banner on the line preceding the user@host# prompt indicates the current hierarchy level. In the following example, the level is [edit protocols ospf]:

[edit protocols ospf]user@host#

Use the set ? command to display the statements that you can include in the configuration at the current level. The help apropos command is also context-sensitive, displaying matching statements only at the current level and below.

Note: In this document, statements are listed alphabetically within each hierarchy and subhierarchy. If a subhierarchy is sufficiently long that it might be difficult to determine where it ends and its next peer statement begins, the subhierarchy appears at the end of its parent hierarchy instead of in alphabetical order. In this case, a placeholder appears in its actual alphabetical position.

For example, at the [edit interfaces interface-name unit logical-unit-number] hierarchy level, the family family-name subhierarchy has more than 20 child statements, including several subhierarchies with child statements of their own. The full family family-name hierarchy appears at the end of its parent hierarchy ([edit interfaces interface-name unit logical-unit-number]), and the following placeholder appears at its actual alphabetical position:

family family-name {... the family subhierarchy appears after the main [edit interfaces interface-name unit logical-unit-number] hierarchy ...}

Another exception to alphabetical order is that the disable statement always appears first in any hierarchy that includes it.

Related Topics


Published: 2010-08-04

Help
|
My Account
|
Log Out