Configuring Groups to Support Routing Matrix Components
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
re0andre1refer to the TX Matrix platform Routing Engines, while groups lcc0-re0 and lcc0-re1 refer to the Routing Engines on T640 routing nodeLCC0. To configure groups for the TX Matrix platform, include there0andre1statements at the[edit groups]hierarchy level. To configure groups for the T640 routing nodes, include thelccnumber-re0andlccnumber-re1statements at the[edit groups]hierarchy level.[edit]groups {re0 {system {host-namehostname-scc-re0;backup-routerip-address;}interfaces {fxp0 {unit 0 {family inet {addressip-address;}}}}}re1 {system {host-namehostname-scc-re1;backup-routerip-address;}interfaces {fxp0 {unit 0 {family inet {addressip-address;}}}}}lcc0-re0 {system {host-namehostname-lcc0-re0;backup-routerip-address;}interfaces {fxp0 {unit 0 {family inet {addressip-address;}}}}}lcc0-re1 {system {host-namehostname-lcc0-re1;backup-routerip-address;}interfaces {fxp0 {unit 0 {family inet {addressip-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-re0andlcc0-re1can be put into a separate group and then added as an apply group to thelcc0-re0andlcc0-re1groups, which in turn are applied to the main configuration.For more information about configuration groups, see the JUNOS CLI User Guide.