Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

groups

Syntax

groups {group-name {configuration-data;when {chassis chassis-id;member member-id;model model-id;node node-id;routing-engine routing-engine-id;time <start-time> [to <end-time>];}conditional-data;}lccn-re0 {configuration-data;}lccn-re1 {configuration-data;}}

Hierarchy Level

[edit]

Release Information

Statement introduced before Junos OS Release 7.4.

Description

Create a configuration group.

Options

group-name

—Name of the configuration group. To configure multiple groups, specify more than one group-name.

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.

when conditional-data

Option introduced in Junos 11.3. The conditional statements that are to be applied when this configuration group is applied.

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

Note: The management Ethernet interface used for the TX Matrix Plus router, T1600 routers in a routing matrix, and PTX Series Packet Transport Switches, is em0. Junos OS automatically creates the router’s management Ethernet interface, em0.

  • 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.

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 remaining statements are explained separately.

Required Privilege Level

configure—To enter configuration mode.

Published: 2013-02-22