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

groups

Syntax

groups {
group-name {
configuration-data;
}
lccn-re0 {
configuration-data;
}
lccn-re1 {
configuration-data;
}
}

Hierarchy Level

[edit]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Create a configuration group.

Options

configuration-data—The configuration statements that are to be applied elsewhere in the configuration with the apply-groups statement, to have the target configuration inherit the statements in the group.

group-name—Name of the configuration group. To configure multiple groups, specify more than one group-name. On routers that support multiple Routing Engines, you can also specify two special 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.

(Routing matrix only) The TX Matrix platform supports group names for the Routing Engines in each connected T640 routing node in the following formats:

Usage Guidelines

See Creating a Configuration Group.

Required Privilege Level

configure—To enter configuration mode.

Related Topics

apply-groups, apply-groups-except


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