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 CLI User Guide.
For more information about the initial configuration for redundant Routing Engine systems and the re0 group, see Junos OS High Availability Configuration Guide .
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 re0Navigate to the groups re0 level of the configuration hierarchy.
[edit]
root# edit groups re0- Specify the router hostname.
[edit groups re0]
root# set system host-name host-nameNote: 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>
- Configure the IP address and prefix length for the router
Ethernet interface.
- For all devices except the TX Matrix
Plus router, T1600 or T4000 routers in a routing matrix, and PTX Series
Packet Transport Switches:[edit]root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
- For TX Matrix Plus router, and T1600 or T4000 routers
in a routing matrix only, and PTX Series Packet Transport Switches:[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
- For all devices except the TX Matrix
Plus router, T1600 or T4000 routers in a routing matrix, and PTX Series
Packet Transport Switches:
Return to the top level of the hierarchy.
[edit groups re0]
root# topCreate the configuration group re1.
[edit]
root# set groups re1Navigate to the groups re1 level of the configuration hierarchy.
[edit]
root# edit groups re1- Specify the router hostname.
[edit groups re1]
root# set system host-name host-name - Configure the IP address and prefix length for the router
Ethernet interface.
- For all devices except the TX Matrix
Plus router, T1600 or T4000 routers in a routing matrix, and PTX Series
Packet Transport Switches:[edit]root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
- For TX Matrix Plus router, and T1600 or T4000 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
- For all devices except the TX Matrix
Plus router, T1600 or T4000 routers in a routing matrix, and PTX Series
Packet Transport Switches:
Return to the top level of the hierarchy.
[edit groups re0]
root# topSpecify the group application order.
[edit]root# set apply-groups [ re0 re1 ]