For easy maintenance of chassis in a routing matrix, you can add a configuration group for each Routing Engine in the T640 routing nodes and TX Matrix platform. The configuration groups added to the TX Matrix platform configuration offer a simple way to establish hostnames, management interfaces, and default routes. In the example below, groups re0 and re1 refer to the TX Matrix platform Routing Engines, while groups lcc0-re0 and lcc0-re1 refer to the Routing Engines on T640 routing node LCC0. To configure groups for the TX Matrix platform, include the re0 and re1 statements at the [edit groups] hierarchy level. To configure groups for the T640 routing nodes, include the lccnumber-re0 and lccnumber-re1 statements at the [edit groups] hierarchy level.
- [edit]
- groups {
-
- re0 {
-
- system {
- host-name hostname-scc-re0;
- backup-router ip-address;
- }
-
- interfaces {
-
- fxp0 {
-
- unit 0 {
-
- family inet {
- address ip-address;
- }
- }
- }
- }
- }
-
- re1 {
-
- system {
- host-name hostname-scc-re1;
- backup-router ip-address;
- }
-
- interfaces {
-
- fxp0 {
-
- unit 0 {
-
- family inet {
- address ip-address;
- }
- }
- }
- }
- }
-
- lcc0-re0 {
-
- system {
- host-name hostname-lcc0-re0;
- backup-router ip-address;
- }
-
- interfaces {
-
- fxp0 {
-
- unit 0 {
-
- family inet {
- address ip-address;
- }
- }
- }
- }
- }
-
- lcc0-re1 {
-
- system {
- host-name hostname-lcc0-re1;
- backup-router ip-address;
- }
-
- interfaces {
-
- fxp0 {
-
- unit 0 {
-
- family inet {
- address ip-address;
- }
- }
- }
- }
- }
- }
- apply-groups [ re0 re1 lcc0-re0 lcc0-re1 ];
Note that apply groups can be nested. For example, any configuration statements that are common to lcc0-re0 and lcc0-re1 can be put into a separate group and then added as an apply group to the lcc0-re0 and lcc0-re1 groups, which in turn are applied to the main configuration.
For more information about configuration groups, see the JUNOS CLI User Guide.