Technical Documentation

Set Up Routing Engine Configuration Groups

In a router with two Routing Engines, one configuration should be shared between both Routing Engines. This ensures that both Routing Engine configurations are identical. Within this configuration, create two Routing Engine groups, one for each Routing Engine. Within these groups, you specify the Routing Engine–specific parameters.

For more information about creating configuration groups, see JUNOS® Software CLI User Guide.

For more information about the initial configuration for redundant Routing Engine systems and the re0 group, see JUNOS® Software High Availability Configuration Guide.

  1. Create the configuration group re0. The re0 group is a special group designator that is only used by RE0 in a redundant routing platform.

    [edit]
    root# set groups re0
  2. Navigate to the groups re0 level of the configuration hierarchy.

    [edit]
    root# edit groups re0
  3. Specify the router hostname.
    [edit groups re0]
    root# set system host-name host-name

    Note: The hostname specified in the router configuration is not used by the DNS server to resolve to the correct IP address. This hostname is used to display the name of the Routing Engine in the CLI. For example, the hostname appears at the command-line prompt when the user is logged in to the CLI:

    user-name@host-name>
  4. Configure the IP address and prefix length for the router Ethernet interface.
    • For all routers except the TX Matrix Plus router and T1600 routers in a routing matrix:
      [edit]root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
    • For TX Matrix Plus and T1600 routers in a routing matrix only:
      [edit]root@# set interfaces em0 unit 0 family inet address address/prefix-length

      To use em0 as an out-of-band management Ethernet interface, you must configure its logical port, em0.0, with a valid IP address.

    • For a T1600 standalone router (not connected to a TX Matrix Plus router and not in a routing matrix):
      [edit]root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
  5. Return to the top level of the hierarchy.

    [edit groups re0]
    root# top
  6. Create the configuration group re1.

    [edit]
    root# set groups re1
  7. Navigate to the groups re1 level of the configuration hierarchy.

    [edit]
    root# edit groups re1
  8. Specify the router hostname.
    [edit groups re1]
    root# set system host-name host-name
  9. Configure the IP address and prefix length for the router Ethernet interface.
    • For all routers except the TX Matrix Plus router and T1600 routers in a routing matrix:
      [edit]root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
    • For TX Matrix Plus and T1600 routers in a routing matrix only:
      [edit]root@# set interfaces em0 unit 0 family inet address address/prefix-length

      To use em0 as an out-of-band management Ethernet interface, you must configure its logical port, em0.0, with a valid IP address.

    • For a T1600 standalone router (not connected to a TX Matrix Plus router and not in a routing matrix):
      [edit]root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
  10. Return to the top level of the hierarchy.

    [edit groups re0]
    root# top
  11. Specify the group application order.

    [edit]root# set apply-groups [ re0 re1 ]

Published: 2010-04-28