[Contents] [Prev] [Next] [Index] [Report an Error]

Specifying the Output Format for Configuration Groups

The <groups> tag element corresponds to the [edit groups] configuration hierarchy. It encloses tag elements representing configuration groups, each of which contains a set of configuration statements that are appropriate at multiple locations in the hierarchy. Use the apply-groups configuration statement or <apply-groups> tag element to insert a configuration group at the appropriate location, achieving the same effect as directly inserting the statements defined in the group. The section of configuration hierarchy to which a configuration group is applied is said to inherit the group’s statements.

In addition to the groups defined at the [edit groups] hierarchy level, the JUNOS software predefines a group called junos-defaults. The group includes configuration statements judged appropriate for basic operations on any routing platform. By default, the statements in this group do not appear in the output of CLI commands that display the configuration, nor in the output returned by the JUNOScript server for the <get-configuration> tag element. For more information about user-defined configuration groups and the junos-defaults group, see the JUNOS CLI User Guide.

The following sections explain how to specify the output format for configuration elements that are defined in configuration groups:


[Contents] [Prev] [Next] [Index] [Report an Error]