You can install an extra line module in a group of identical line modules to provide redundancy if one of the modules fails.
The process by which the router switches to the spare line module is called switchover. During switchover, the line, circuit, and IP interfaces on the I/O module or one or more IOAs appear to go down temporarily. The duration of the downtime depends on the number of interfaces and the size of the routing table, because the router must reload the interface configuration and the routing table from the SRP module.
If the line module software is not compatible with the running SRP module software release, a warning message appears on the console.
The requirements for line module redundancy depend on the type of router that you have.
![]() |
Note: The information in this section does not apply to the ERX-310 router, which does not support line module redundancy. |
To use this feature on ERX-7xx models and ERX-14xx models, you must also install a redundancy midplane and a redundancy I/O module. For a detailed explanation of how the router provides redundancy for line modules and procedures for installing the modules, see the ERX Hardware Guide.
To configure line module redundancy on the E120 router or the E320 router, you must also install an ES2-S1 Redund IOA in either slot 0 or slot 11. The ES2-S1 Redund IOA is a full-height IOA. For a detailed explanation of how the router provides redundancy for line modules and procedures for installing the modules, see the E120 and E320 Hardware Guide.
On E120 and E320 routers, each side of the chassis is treated as a redundancy group. The lowest numbered slot for each side acts as the spare line module, providing backup functionality when an ES2-S1 Redund IOA is located directly behind it. When the line module does not contain an ES2-S1 Redund IOA, it is considered a primary line module.
The spare line module only backs up a line module of the same type. For example, an ES2 4G LM spare line module backs up any ES2 4G LM, but does not back up an ES2 10G Uplink LM. The router accepts the following redundancy groups:
Also, you cannot configure redundancy for the ES2-S1 Service IOA.
On E120 and E320 routers, switchover is based on the combined states of the line module and the IOAs that are installed in the affected slot.
When the router reboots and the formerly configured primary line module is not present, or is present and fails diagnostics, it switches to a spare line module and takes inventory of the IOAs. If the IOA is present and new, the router reverts back to the primary line module so that the spare line module can service other active primary line modules.
When the router reboots and there is a slot that contains a line module and one active and one inactive IOA, the inactive IOA remains in that state.
On E120 and E320 routers, a line module reboots when you issue the adapter disable or adapter enable commands for an associated IOA.
When you issue the adapter disable or adapter enable commands, the line module (primary or spare) currently associated with that IOA reboots. If the IOA is protected by a line module redundancy group, an automatic line module redundancy switchover or revert can be triggered by the line module reboot. To prevent undesired line module redundancy actions, issue the redundancy lockout command for the primary line module slot before issuing the adapter disable or adapter enable commands.
Provided you have not issued the redundancy lockout command for the primary line module, the router switches over to the spare line module automatically if it detects any of the following failures on the primary line module:
If automatic switchover is enabled on a slot (the default configuration) and a spare line module is available, issuing some CLI commands for the primary line module causes a switchover (see Table 42).
You can also disable automatic switchover on individual slots. For more information, see Configuring Line Module Redundancy.
Table 42: Commands That Can Cause Automatic Switchover
You can install only one spare line module in the group of slots covered by the redundancy midplane or redundancy group. If the router is using the spare line module, no redundancy is available. It is desirable to revert to the primary module as soon as possible. By default, the router does not automatically revert to the primary module after switchover; however, you can configure it to do so. (See Configuring Line Module Redundancy.) Before reversion can take place, the primary line module must complete the POST diagnostics.
You can modify the default redundancy operations
on the router
as follows:
redundancy lockout
- host1(config)#redundancy lockout 5
redundancy revertive
- host1(config)#redundancy revertive 23:00:00
When the router is running and a redundancy group is installed, you can manage the redundancy situation as follows:
redundancy force-switchover
- host1#redundancy force-switchover 5
redundancy revert
- host1#redundancy revert 4 23:00:00 5 September
200X
This section covers general issues of SRP module redundancy. It does not cover NVS cards or the behavior on systems running high availability features such as hitless SRP switchover. For information about managing NVS in a router that contains two SRP modules, see Managing Flash Cards on SRP Modules. For information about managing high availability in a router, see Managing Modules.
The information in this section does not apply to the ERX-310 router, which does not support SRP module redundancy. For this reason, any references to synchronization that may appear in command output or system messages do not apply to the ERX-310 router.
The SRP module uses a 1:1 redundancy scheme. When two SRP modules are installed in the router, one acts as a primary and the second as a redundant module. On ERX-7xx models, ERX-14xx models, and the ERX-310 router, both SRP modules share a single SRP I/O module located in the rear of the chassis. On the E120 router and the E320 router, both SRP modules share an SRP IOA located in the rear of the chassis.
After you install two SRP modules, the modules negotiate for the primary role. A number of factors determine which module becomes the primary; however, preference is given to the module in the lower slot. The SRP modules record their latest roles and retain them the next time you switch on the router.
With the default software settings, if the primary SRP module fails, the redundant SRP module assumes control without rebooting itself. For information about preventing the redundant SRP module from assuming control, see Managing SRP Module Redundancy.
On E120 and E320 routers, the switch fabric is distributed between the SFMs and the SRP modules. If the primary SRP module fails a diagnostic test on its resident slice of switch fabric, then it abdicates control to the redundant SRP module if both of the following are true:
When the redundant SRP module assumes control, the following sequence of events occurs:
The following actions activate the redundant SRP module:
Figure 25: SRP Module on ERX-7xx Models and ERX-14xx Models

Figure 26: SRP Module on the E120 Router and the E320 Router

On a router with redundant SRP modules, you can specify the configuration that both the primary and redundant modules load in the event of a reload or switchover. A switchover can result from an error on the primary SRP module or from an srp switch command. The following behavior takes place only in the event of a cold restart; it does not take place in the event of a warm restart.
When you arm a configuration (.cnf) file by issuing the boot config cnfFilename command, a subsequent SRP switchover causes the redundant SRP module to assume the role of primary SRP module with the configuration specified by the .cnf file. The new primary SRP module does not use the running configuration.
If you want the redundant SRP module to instead use the running configuration when it assumes the primary role, then you must first arm a configuration file with the boot config cnfFilename once command. To exhaust the once option, you must then cause the redundant SRP module to reload for some reason, such as by issuing a reload command or by arming a new JUNOSe release or a hotfix file.
When a switchover subsequently occurs, the redundant SRP module reloads with the running configuration and assumes the primary role. For more information about the boot config command, see Booting the System .
You can install a redundant SRP module into a running router, provided that the redundant SRP module has a valid, armed software release on its NVS card. Access to a software release in NVS ensures that the redundant SRP module can boot; the release need not be the same as that on the primary SRP module. To install a redundant SRP module into a running router, follow these steps:
![]() |
Warning: Do not insert any metal object, such as a screwdriver, or place your hand into an open slot or the backplane when the router is on. Remove jewelry (including rings, necklaces, and watches) before working on equipment that is connected to power lines. These actions prevent electric shock and serious burns. |
![]() |
Caution: When handling modules, use an antistatic wrist strap connected to the router’s ESD grounding jack, and hold modules by their edges. Do not touch the components, pins, leads, or solder connections. These actions help to protect modules from damage by electrostatic discharge. |
For detailed information about installing the SRP module, see the ERX Hardware Guide or the E120 and E320 Hardware Guide.
When the module is in standby state, the REDUNDANT LED is on and the ONLINE LED is off. If you issue the show version command, the state field for the slot that contains the redundant SRP module is standby.
![]() |
Note: The SRP module reboots after synchronization is complete. |
reload slot
- host1#reload slot 7
- host1#reload slot 7 srp
synchronize
- host1#synchronize
- host1#synchronize low-level-check all
- host1#synchronize low-level-check configuration
You can prevent the redundant SRP module from taking over when:
![]() |
Note: If you do not configure this option, when troubleshooting an SRP module, disconnect the other SRP module from the router. This action prevents the redundant SRP module from taking over if you push the reset button on the primary SRP module. |
To configure this option:
Refer to the commands and guidelines in the previous section and below.
disable-switch-on-error
- host1(config)#disable-switch-on-error
synchronize
- host1#synchronize
- host1#synchronize low-level-check all
- host1#synchronize low-level-check configuration
To switch immediately from the primary SRP module to the redundant SRP module, issue the redundancy force-switchover command or the srp switch command. You can configure the router to prompt you if the modules are in a state that could lead to loss of configuration data or NVS corruption.
redundancy force-switchover
- host1#redundancy force-switchover 5
srp switch
- host1#srp switch
- host1#srp switch force
For information about upgrading software on SRP modules on ERX-7xx models, ERX-14xx models, or the ERX-310 router, see Installing JUNOSe Software .
You can determine the redundancy state of line modules and SRP modules by examining their status LEDs. See Table 43 for a description of the LEDs functions. In addition, if you issue the show version command, the state field for the slot that contains the redundant SRP module should be standby.
Table 43: Function of the Online and Redundant LEDs