Technical Documentation

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:

  • re0—Configuration statements that are to be applied to the Routing Engine in slot 0.
  • re1—Configuration statements that are to be applied to the Routing Engine in slot 1.

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 router supports group names for the Routing Engines in each connected T640 router in the following formats:

  • lccn-re0—Configuration statements applied to the Routing Engine in slot 0 of the specified T640 router that is connected to a TX Matrix router.
  • lccn-re1—Configuration statements applied to the specified to the Routing Engine in slot 1 of the specified T640 router that is connected to a TX Matrix router.

    n identifies the T640 router and can be from 0 through 3.

Required Privilege Level

configure—To enter configuration mode.


Published: 2010-04-27