Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    1. Configuring a Backup Router Running IPv4
    2. Configuring a Backup Router Running IPv6

    Configuring a Backup Router Running IPv4

    To configure a backup router running IPv4, include the backup-router statement at the [edit system] hierarchy level:

    [edit system]backup-router address <destination destination-address>;

    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.

    [edit]
    system {backup-router 192.168.1.254 destination 208.197.1.0/24;}
    routing-options {static {route 208.197.1.0/24 {next-hop 192.168.1.254;retain;}}}

    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:

    [edit system]inet6-backup-router “address <destination destination-address>”;

    The following example shows how to configure a backup router running IPv6 and have its address remain in the routing and forwarding tables:

    [edit]
    system {inet6-backup-router 8:3::1 destination abcd::/48;}
    routing-options {rib inet6.0 {static {route abcd::/48 {next-hop 8:3::1;retain;}}}}

    Published: 2013-02-14