Technical Documentation

Apply the New Group

Action

To apply the re0 group to maintain a single configuration file for both Routing Engines, follow these steps:

  1. In configuration mode, go to the top hierarchy level and include the following statement:
    user@host# [edit]
    user@host# set apply-groups group-name

    For example:

    user@host# [edit]
    user@host# set apply-groups re0
  2. Verify the configuration:
    user@host# show
    groups { re0 { system { host-name foo-re0;} interfaces { fxp0 { unit 0 { family inet { address 1.1.1.1/24; }}}}} re1 { system { host-name foo-re1;} interfaces { fxp0 { unit 0 { family inet { address 1.1.1.2/24; }}}}}}apply-groups [ re0 re1 ];
  3. Commit the configuration:
    user@host# commit

Meaning

The sample output shows that each group, re0 and re1, has its own IP address that is used for each Routing Engine to maintain a single configuration file.


Published: 2010-01-25