Configuration Statement Hierarchy
The SRC software configuration consists of a hierarchy of statements. There are two types of statements: container statements, which are statements that contain other statements, and leaf statements, which do not contain other statements. All the container and leaf statements together form the configuration hierarchy.
Figure 9 shows container statements and leaf statements in the
sae
hierarchy. To view this hierarchy at the CLI, the editing level must be set to expert.
![]()
Each statement at the top level of the configuration hierarchy resides at the trunk (or root level) of a hierarchy tree. The top-level statements are container statements, containing other statements that form the tree branches. The leaf statements are the leaves of the hierarchy tree. An individual hierarchy of statements, which starts at the trunk of the hierarchy tree, is called a statement path. Figure 9 illustrates the hierarchy tree, showing a statement path for the portion of the shared configuration hierarchy that configures the idle timeout for the SAE.
The
shared
statement is a top-level statement at the trunk of the configuration tree. Theacp
,admission-control
,auth-cache
,congestion-points
,network
,nic
, andsae
statements are all subordinate container statements of theshared
statement (they are branches of theshared
hierarchy tree).Theconfiguration
and theidle-timeout
statements are successive branches in the hierarchy under thesae
branch. Theadjust-session-time
statement is a leaf on the tree, which, in this case, specifies that when a session is terminated by an idle timeout, the session time reported in the accounting stop message is automatically reduced by the idle time.The CLI represents the statement path shown in Figure 9 as
[shared sae configuration idle-timeout
]
, and displays the configuration as follows:shared {sae {configuration {idle-timeout {adjust-session-time;}}}}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. Each leaf statement ends with a semicolon.