- play_arrow Configuring and Administering Junos Devices
- play_arrow Configuring Junos Devices
- Initial Router or Switch Configuration Using Junos OS
- Configuring Junos OS for the First Time on a Device with a Single Routing Engine
- Configuring Junos OS for the First Time on a Device with Dual Routing Engines
- How to Improve Commit Time When Using Configuration Groups
- Creating and Activating a Candidate Configuration
- Format for Specifying IP Addresses, Network Masks, and Prefixes in Junos OS Configuration Statements
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- Mapping the Name of the Router to IP Addresses
- Configuring Automatic Mirroring of the CompactFlash Card on the Hard Drive
- Using Junos OS to Specify the Number of Configurations Stored on the CompactFlash Card
- Back Up Configurations to an Archive Site
- Configuring Junos OS to Set Console and Auxiliary Port Properties
- play_arrow Monitoring Junos Devices
- play_arrow Managing Junos OS Processes
-
- play_arrow Configuration Statements and Operational Commands
ON THIS PAGE
Configuration Groups Overview
This topic provides an overview of configuration groups and the inheritance model in the Junos OS CLI.
How Configuration Groups Work
Configuration groups enable you to create a group containing configuration statements and to direct the inheritance of that group’s statements in the rest of the configuration. The same group can be applied to different sections of the configuration. Different sections of one group’s configuration statements can be inherited in different places in the configuration.
Configuration groups enable you to create smaller, more logically constructed configuration files, making it easier to configure and maintain Juniper Networks devices. For example, you can group statements that are repeated in many places in the configuration, such as when configuring interfaces. By grouping statements, you can limit configuration updates to just the group.
You can also use wildcards in a configuration group. Any object that matches the wildcard expression inherits the group configuration data.
The configuration group mechanism is separate from the grouping mechanisms used elsewhere in the configuration, such as BGP groups. Configuration groups provide a generic mechanism that you can use throughout the configuration but that are known only to the CLI. The individual software processes that perform the actions directed by the configuration receive the expanded form of the configuration; they have no knowledge of configuration groups.
Inheritance Model
Configuration groups use true inheritance, which involves a dynamic, ongoing relationship between the source of the configuration data and the target of that data. The target automatically inherits data values that you change in the configuration group. The target does not need to contain the inherited information. However, the inherited values can be overridden in the target without affecting the source from which they were inherited.
This inheritance model enables you to see only the instance-specific information without seeing the inherited details. A command pipe in configuration mode enables you to display the inherited data.