# Replacing IOAs on the E120 Router and the E320 Router

When you configure an IOA in an IOA bay on the E120 and E320 routers, the router stores the configuration in NVS.

When you replace an IOA that supports hot-swapping with the same type of IOA, the line module goes online immediately. When you replace an IOA that does not support hot-swapping with the same type of IOA, the line module reboots.

Before you install an IOA that was previously occupied by another IOA in the E120 or E320 router—for example, an ES2-S1 GE-4 IOA in an IOA bay that previously contained an ES2-S1 OC3-8 STM1 ATM IOA—consider whether the IOA that you are replacing supports hot-swapping. For example:

- When you replace an IOA that does not support hot-swapping, the line module reboots. Before installing the different type of IOA, issue the adapter erase or slot erase command for the slot that contains the IOA bay.
- When you replace an IOA that supports hot-swapping, the line module becomes inactive with a “ mismatch” state. After installing the different type of IOA, issue the adapter accept command or the slot erase command for the slot that contains the IOA bay.

## Replacing SRP Modules and SFMs

If you remove a standby SRP module or an SFM, you must issue the slot erase command to delete the configuration. If you fail to issue the slot erase command, then the E Series router cannot guarantee that the SRP modules were synchronized. In this situation, the E Series router does not properly execute a simple reload command.

To reload the router you must do either of the following:

- Issue the reload force command.
- Issue the slot erase command followed by the reload command.

If you perform one of the following actions, you must reset the configuration of the router to factory default:

- Replace a 5-Gbps SRP module with a 10-Gbps SRP module or vice versa.
- Transfer an SRP module from an ERX7xx router to a Juniper Networks ERX1410 router or vice versa.

You cannot use the slot accept command to force the router to accept the new SRP module.

When you have installed the SRP module in the new location, reset the configuration of the router to factory defaults as follows:

1. Reload the operating router, then press mb key sequence (case-insensitive) during the countdown.
   host1#reload
2. Reboot the router with the factory defaults.
   :boot##boot config factory-defaults
3. Reload the operating router.
   :boot##reload

For more information about the reload and boot config commands, see Booting the System .

adapter accept

- Use to delete the configuration of the IOA in the specified IOA bay after you install a different type of IOA.
- This command enables you to create a fresh configuration for the module installed in the IOA bay.
- You can also use this command to accept an empty IOA bay that was previously occupied.
- Issuing this command reboots the line module associated with the IOA, but it does not erase the line module’s configuration. To erase the configuration of the line module and its associated IOAs, issue slot accept command.
- Issuing this command erases the interfaces associated with the specified IOA. To erase the interfaces for both IOAs installed in a slot, issue the slot accept command.
- Depending on the previous configuration of the slot, the system might take a few moments to execute this command.
- Example—Accepting the IOA in the upper bay of slot 5 in an E320 router
  host1(config)#adapter accept 5/0
- There is no no version.
- See adapter accept.

adapter erase

- Use to delete the configuration of the specified IOA in the specified IOA bay before you install a different type of IOA.
- This command enables you to create a fresh configuration for the IOA to be installed in the IOA bay.
- Issuing this command reboots the line module associated with the IOA, but it does not erase the line module’s configuration. To erase the configuration of the line module and its associated IOAs, issue slot erase command.
- Issuing this command erases the interfaces associated with the specified IOA. To erase the interfaces for both IOAs installed in a slot, issue the slot erase command.
- Example—Erasing the IOA in the upper bay of slot 5 in an E320 router
  host1(config)#adapter erase 5/0
- There is no no version.
- See adapter erase.

slot accept

- Use to delete the configuration of the module in the selected slot after you install a different type of module.
- This command enables you to create a fresh configuration for the module installed in the slot.
- You can also use this command to accept an empty slot that was previously occupied.
- You cannot use this command on a primary SRP module; however, you can use it on a standby SRP module.
- You can use this command only when the state of the module in the slot is not present or disabled (mismatch).
- If you specify a slot on an E120 or E320 router that contains an SRP module, you accept the configuration of the SC subsystem on that slot by default. You do not, however, accept the configuration of the fabric slice that resides on the slot.
  - Use the srp keyword to accept only the configuration of the portion of the SC subsystem that resides on a specified SRP module.
  - Use the fabric keyword to accept only the configuration of the fabric slice that resides on the specified SRP module.
- If you specify a slot that contains a line module, you erase the configuration of the line module and the I/O modules or IOAs associated with it. To erase the configuration of a specific IOA on the E120 or E320 router, use adapter accept command.
- Depending on the slot’s previous configuration, the router might take a few moments to execute this command.
- The following is a sample log message resulting from putting an OC3 line module in a slot that was previously configured for a line module:

      ERROR 02/07/2003 15:16:20 system (slot 3): boardId mismatch: read 0x6 (OC3 dual port without classifier), configured 0x2e (OC12 ATM)
      ERX-00-17-04(config)# slot accept  3
      Please wait....
      ERX-00-17-04(config)#ERROR 02/07/2003 15:16:31 system (slot 3): unrecognized board type (0x6)

  To resolve the problem, issue the slot accept command for slot 3.

- Example 1—Accepts the configuration of the module in slot 3
  host1(config)#slot accept 3
- Example 2—Accepts the configuration of the specified SRP module and the SC subsystem in slot 7 (applies only to E120 and E320 routers)
  host1(config)#slot accept 7
- Example 3—Accepts the configuration of the SC on the SRP module in slot 7 (applies only to E120 and E320 routers)
  host1(config)#slot accept 7 srp
- There is no no version.
- See slot accept.

slot erase

- Use to delete the configuration of the module in the selected slot before you install a different type of module.
- This command enables you to create a fresh configuration for the module installed in the slot.
- You cannot use this command on a primary SRP module; however, you can use it on a standby SRP module.
- If you specify a slot on the E120 or E320 router that contains an SRP module, you erase the configuration of the SC subsystem on that slot by default. You do not, however, erase the configuration of the fabric slice that resides on the slot.
  - Use the srp keyword to erase only the configuration of the portion of the SC subsystem that resides on a specified SRP module.
  - Use the fabric keyword to erase only the configuration of the fabric slice that resides on the specified SRP module.
- If you specify a slot that contains a line module, you erase the configuration of the line module and the I/O modules or IOAs associated with it. To erase the configuration of a specific IOA on the E120 or E320 router, use adapter erase command.
- If you specify the slot erase command to delete the configuration of the module in the selected slot before you install a different type of module on slots that contain line modules that are members of a high availability pair, an error message is displayed. The error message indicates that you must deactivate high availability feature for the applicable line modules before erasing or replacing the slot configuration. You need to use the no mode high-availability slot command to disable high availability for the slots in which those line modules reside.
- Example 1—Erases the configuration of the module in slot 3
  host1(config)#slot erase 3
- Example 2—Erases the configuration of the specified SRP module and the SC subsystem in slot 7 (applies only to E120 and E320 routers)
  host1(config)#slot erase 7
- Example 3—Erases the configuration of the SC on the SRP module in slot 7 (applies only to E120 and E320 routers)
  host1(config)#slot erase 7 srp
- There is no no version.
- See slot erase.