Related Documentation
- M Series
- Configuring the Junos OS for the First Time on a Router or Switch with a Single Routing Engine
- Configuring the Junos OS the First Time on a Router with Dual Routing Engines
- Requirements for Routers with a Backup Router Configuration.
- MX Series
- Configuring the Junos OS for the First Time on a Router or Switch with a Single Routing Engine
- Configuring the Junos OS the First Time on a Router with Dual Routing Engines
- PTX Series
- Configuring the Junos OS for the First Time on a Router or Switch with a Single Routing Engine
- Configuring the Junos OS the First Time on a Router with Dual Routing Engines
- Requirements for Routers with a Backup Router Configuration.
- T Series
- Configuring the Junos OS for the First Time on a Router or Switch with a Single Routing Engine
- Configuring the Junos OS the First Time on a Router with Dual Routing Engines
- Requirements for Routers with a Backup Router Configuration.
Configuring a Backup Router
When a router or switch is booting, the routing protocol process (rpd) is not running; therefore, the router or switch has no static or default routes. To allow the router or switch to boot and to ensure that the router or switch is reachable over the network if the routing protocol process fails to start properly, you configure a backup router (running IP version 4 [IPv4] or IP version 6 [IPv6]), which is a router that is directly connected to the local router or switch (that is, on the same subnet) through its private management interface (e.g., fxp0).
By default, all hosts (default route) are reachable through the backup router. To achieve network reachability while loading, configuring, and recovering the router or switch, but without the risk of installing a default route in the forwarding table, include the destination option, specifying an address that is reachable through the backup router. Specify the address in the format network/mask-length so that the entire network is reachable through the backup router.
.
![]() | Note: Due to a system limitation, do not configure the destination address specified in the backup-router as ‘0.0.0.0/0’ or ‘::/0’. The mask has to be a non-zero value. |
When the routing protocols start, the address of the backup router is removed from the local routing and forwarding tables. To have the address remain in these tables, configure a static route for that address by including the static statement at the [edit routing-options] hierarchy level.
On systems with dual redundant Routing Engines, the backup Routing Engine's reachability through the private management interface is based only on the functionality of the backup-router configuration, it is not based on whether the rpd is running. Therefore, the backup-router statement must be configured, along with the destination statement, to achieve continuous network reachability through a private management interface to a backup Routing Engine when using a system with dual redundant Routing Engines.
![]() | Note: Further constraints may apply on redundant Routing Engine systems with multiple static routes enabled, such as for graceful restart or nonstop active routing. |
The following topics describe how to configure a backup router running IPv4 and IPv6, respectively:
Configuring a Backup Router Running IPv4
To configure a backup router running IPv4, include the backup-router statement at the [edit system] hierarchy level:
The following example shows how to configure a backup router running IPv4 and have its address remain in the routing and forwarding tables:
![]() | Note: The Routing Engine on the backup router only supports 16 destinations addresses. If you configure more than 16 destination addresses, the Junos OS ignores destination addresses after the sixteenth address and displays a commit-time warning message to this effect. |
Configuring a Backup Router Running IPv6
To configure a backup router running IPv6, include the inet6-backup-router statement at the [edit system] hierarchy level:
The following example shows how to configure a backup router running IPv6 and have its address remain in the routing and forwarding tables:
Related Documentation
- M Series
- Configuring the Junos OS for the First Time on a Router or Switch with a Single Routing Engine
- Configuring the Junos OS the First Time on a Router with Dual Routing Engines
- Requirements for Routers with a Backup Router Configuration.
- MX Series
- Configuring the Junos OS for the First Time on a Router or Switch with a Single Routing Engine
- Configuring the Junos OS the First Time on a Router with Dual Routing Engines
- PTX Series
- Configuring the Junos OS for the First Time on a Router or Switch with a Single Routing Engine
- Configuring the Junos OS the First Time on a Router with Dual Routing Engines
- Requirements for Routers with a Backup Router Configuration.
- T Series
- Configuring the Junos OS for the First Time on a Router or Switch with a Single Routing Engine
- Configuring the Junos OS the First Time on a Router with Dual Routing Engines
- Requirements for Routers with a Backup Router Configuration.
