# Replacing Line Modules on ERX Routers, the E120 Router, and the E320 Router

You can install line modules in slots previously occupied by different types of line modules. For example, on the ERX1440 router, you can replace a GE-2 line module and a GE-2 SFP I/O module in a slot that previously contained an OCx/STMx/DS3-ATM line module and an OC3-4 I/O module.

When you configure a line module and an I/O module or IOAs, the router stores the configuration in NVS. In some cases, you must erase the interface configuration on the slot and reconfigure it after you have installed the new line module. However, some line modules on E120 and E320 routers enable you to replace the line module without reconfiguring the interfaces on the slot.

On the E120 and E320 routers, you can replace the following line modules:

- ES2 4G LM with ES2 10G ADV LM and vice versa when paired with one of the following IOAs:
  - ES2-S1 GE-8 IOA
  - ES2-S1 REDUND IOA
- ES2 10G LM with ES2 10G ADV LM and vice versa when paired with one of the following IOAs:
  - ES2-S1 GE-8 IOA
  - ES2-S2 10GE PR IOA
  - ES2-S1 REDUND IOA
- ES2 4G LM with ES2 10G LM and vice versa when paired with one of the following IOAs:
  - ES2-S1 GE-8 IOA
  - ES2-S1 REDUND IOA

| Note: The ES2 10G LM cannot provide backup for a redundancy group that includes one or more ES2 10G ADV LMs. When you replace an ES2 10G ADV LM with an ES2 10G LM and the module is paired with an ES2-S1 Redund IOA, ensure that the provisioned redundancy group does not include an ES2 10G ADV LM.

Tasks to replace a line module are:

- Replacing a Line Module by Erasing the Slot Configuration
- Replacing a Line Module Without Erasing the Slot Configuration

## Replacing a Line Module by Erasing the Slot Configuration

Use this procedure when you must erase the slot configuration to replace line modules on the ERX routers or on E120 and E320 routers.

For information about replacing the ES2 4G LM or an ES2 10G LM without erasing the slot configuration, see Replacing Line Modules on ERX Routers, the E120 Router, and the E320 Router .

To replace a line module:

1. Copy your slot configuration so you can reconfigure the interfaces after replacing the line module.
2. (Optional) If line module redundancy is configured for the slot, disable redundancy for the slot.
   host1(config)#redundancy lockout 7
3. Disable the slot.
   host1(config)#slot disable 7
4. Remove the current line module and insert the new line module.
5. Issue the slot accept command for the affected slot.
   host1(config)#slot accept 7

   The slot accept command erases the configuration and enables you to reconfigure the new line module.

6. When the replacement line module has come online, reconfigure the interfaces.
7. If you disabled redundancy in Step 2, enable redundancy for the slot when the replacement line module has come online.
   host1(config)#no redundancy lockout 7

## Replacing a Line Module Without Erasing the Slot Configuration

Use this procedure when you are replacing an ES2 4G LM with an ES2 10G LM or an ES2 10G ADV LM, or vice-versa. Both line modules must already be paired with an ES2-S1 GE-8 IOA or the ES2-S1 Redund IOA.

You can also use this procedure when you are replacing ES2 10G LM with ES2 10G ADV LM, or vice-versa. In this case, both the line modules must be paired with any one of the following IOAs:

- ES2-S2 10GE PR IOA
- ES2-S1 10GE PR IOA
- ES2-S1 REDUND IOA

You can replace a single line module or all of the line modules in a redundancy group using this procedure.

| Note: In some cases, the ES2 4G LM and ES2 10G LM support different system maximums and protocols. Before you replace an ES2 4G LM with an ES2 10G LM or ES2 10G ADV LM, make sure that: The ES2 10G LM or ES2 10G ADV LM supports the features already configured on the slot for the ES2 4G LM. The ES2 10G LM or ES2 10G ADV LM can support the existing system maximums configured on the ES2 4G LM. If you have a configuration on the ES2 4G LM that is not supported on the ES2 10G LM or ES2 10G ADV LM, you must erase the configuration before replacing the line module. For more information, see Replacing a Line Module by Erasing the Slot Configuration .

To replace a line module without erasing the slot configuration:

1. (Optional) If line module redundancy is configured for the slot, disable redundancy.
   host1(config)#redundancy lockout 1
2. Disable the slot.
   host1(config)#slot disable 1
3. After the line module has booted, issue the show version command to ensure that the status of the line module is disabled (admin).

       host1#show version
       Juniper Edge Routing Switch E120

       .......

                                                        running
       slot  state   type    admin             spare    release     slot uptime
       ---- ------- ------- -------            ----- ------------- -------------
       0      ---     ---     ---                 ---      ---       ---
       1 online  LM-10 disabled (admin) ---  9-1-0b0-9.rel 1d08h:32m:29s
       2  online  LM-10A-ADV  enabled         ---  10-1-0b1-6-A.rel 2d19h:29m:18s
       3      ---     ---     ---             ---        ---           ---

       .......

4. Remove the current line module and insert the new line module without removing the IOA.

   For example, remove the ES2 4G LM and insert the new ES2 10G LM or ES2 10G ADV LM. Do not remove the ES2-S1 GE-8 IOA or the ES2-S1 Redund IOA.

5. After the new line module has booted, issue the show version command to ensure that the status of the line module is disabled (mismatch).

       host1#show version
       Juniper Edge Routing Switch E120

       .......

                                                        running
       slot  state   type    admin             spare    release     slot uptime
       ---- ------- ------- -------            ----- ------------- -------------
       0      ---     ---     ---    ---        ---       ---
       1  online  LM-4 disabled (mismatch)---  9-1-0b0-9.rel 1d08h:32m:29s
       2   online  LM-10A-ADV  enabled        ---  10-1-0b1-6-A.rel 2d19h:29m:18s
       3      ---     ---     ---              ---       ---         ---

       .......

6. Issue the slot replace command on the slot.
   host1(config)#slot replace 1

   | Tip: If the line module is in a redundancy group and you did not disable redundancy in Step 1, the system switches to the spare line module. The system reloads both the replaced line module and the spare line module when you issue the slot replace command.

   | Note: If you specify the slot replace command to replace an ES2 4G LM with a different type of module without erasing the interface configuration 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.

7. If you disabled redundancy for the slot in Step 1, enable redundancy when the replacement line module has come online.
   host1(config)#no redundancy lockout 1
8. (Optional) If the following settings were configured before replacing the module, reconfigure the settings:
   1. Configure the Ethernet physical interface configuration using an SNMP set request for entPhysicalAssetID and entPhysicalAlias.
   2. Specify the threshold values for specific interface types for the slot.
      host1(config)#resource if-type ip slot 1 threshold

#### Related Documentation

- redundancy lockout
- resource if-type
- slot accept
- slot replace
- snmp-server