Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Initial Routing Engine Configuration Example

You can use configuration groups to ensure that the correct IP addresses are used for each Routing Engine and to maintain a single configuration file for both Routing Engines.

The following example defines configuration groups re0 and re1 with separate IP addresses. These well-known configuration group names take effect only on the appropriate Routing Engine.

groups {re0 {system {host-name my-re0;}interfaces {fxp0 {description "10/100 Management interface";unit 0 {family inet {address 10.255.2.40/24;}}}}}re1 {system {host-name my-re1;}interfaces {fxp0 {description "10/100 Management interface";unit 0 {family inet {address 10.255.2.41/24;}}}}}}

You can assign an additional IP address to the management Ethernet interface (fxp0 in this example) on both Routing Engines. The assigned address uses the master-only keyword and is identical for both Routing Engines, ensuring that the IP address for the master Routing Engine can be accessed at any time. The address is active only on the master Routing Engine's management Ethernet interface. During a Routing Engine switchover, the address moves over to the new master Routing Engine.

For example, on re0, the configuration is:

[edit groups re0 interfaces fxp0]
unit 0 {family inet {address 10.17.40.131/25 {master-only;}address 10.17.40.132/25;}}

On re1, the configuration is:

[edit groups re1 interfaces fxp0]
unit 0 {family inet {address 10.17.40.131/25 {master-only;}address 10.17.40.133/25;}}

For more information about the initial configuration of dual Routing Engines, see the Installation and Upgrade Guide. For more information about assigning an additional IP address to the management Ethernet interface with the master-only keyword on both Routing Engines, see the CLI User Guide.

Published: 2013-01-15