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

apply-groups

Syntax

apply-groups [ group-names ];

Hierarchy Level

All hierarchy levels

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Apply a configuration group to a specific hierarchy level in a configuration, to have a configuration inherit the statements in the configuration group.

You can specify more than one group name. You must list them in order of inheritance priority. The configuration data in the first group takes priority over the data in subsequent groups.

For routers that support multiple Routing Engines, you can specify re0 and re1 as group names. The configuration specified in group re0 is applied only if the current Routing Engine is in slot 0; likewise, the configuration specified in group re1 is applied only if the current Routing Engine is in slot 1. Therefore, both Routing Engines can use the same configuration file, each using only the configuration statements that apply to it. Each re0 or re1 group contains at a minimum the configuration for the hostname and the management interface (fxp0). If each Routing Engine uses a different management interface, the group also should contain the configuration for the backup router and static routes.

For the TX Matrix platform, you can specify lccn-re0 and lccn-re1 as group names where n identifies the T640 routing node that is connected to a TX Matrix platform and can be from 0 through 3.

You can include the apply-groups statement at any level of the configuration hierarchy.

You can include only one apply-groups statement at each specific level of the configuration hierarchy. The apply-groups statement at a specific hierarchy level lists the configuration groups to be added to the containing statement’s list of configuration groups.

Options

group-names—One or more names specified in the groups statement.

Usage Guidelines

See Applying a Configuration Group.

Required Privilege Level

configure—To enter configuration mode; other required privilege levels depend on where the statement is located in the configuration hierarchy.

Related Topics

 groups


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