# Enabling Warm Restart Diagnostics on Modules

You can enable the system to perform diagnostic tests on SRP modules and line modules when the specified module is warm restarted. The system performs all the diagnostic tests that normally run when the module is cold started.

SRP modules on all E Series routers support warm restart diagnostics. Table 44 lists the line modules that support warm restart diagnostics.

Table 44: Supported Line Modules

Line Module
cOCx FO
CT3/T3-F0
OCx/STMx ATM
GE/FE
GE-2
GE-HDE
OC3/STM1 GE/FE
OC48
ES2 4G LM
ES2 10G Uplink LM

The number of diagnostic tests that the system performs on line modules depends on whether you have configured line module redundancy. If you enable warm restart diagnostics on the spare line module when all other line modules are active, the system performs diagnostic tests on the spare line module including the spare I/O module.

Enabling warm restart diagnostics on a primary line module forces the line module to switch over to the spare line module.

To ensure complete diagnostic test coverage, we recommend that you disable line module redundancy using the redundancy lockout command before enabling warm restart diagnostics.

## Enabling Warm Restart Diagnostics

Use the diag command to enable warm restart diagnostics on a module.

diag

- Use to restart the specified SRP module or line module and enable the system to perform diagnostic tests on the module.
- Use the force keyword to enable the system to manually confirm conflicting conditions when the slot of the active SRP module is specified.
- If you specify a slot on the E120 and E320 routers that contains an SRP module, you can use the subsystem variable to perform diagnostic tests on a subsystem on the SRP module. We recommend that you perform diagnostic tests on one subsystem at a time to avoid interrupting network traffic transmitting through the fabric modules.
  - Use the srp keyword to perform diagnostic tests on the SC subsystem that resides on a specified SRP module.
  - Use the fabric keyword to run diagnostic tests on the fabric slice that resides on the specified SRP module.
- Example 1—Enables warm restart diagnostics on a line module
  host1#diag 3 force
- Example 2—Enables warm restart diagnostics on the fabric subsystem of an active SRP module on the E320 Router
  host1#diag 6 fabric
- There is no no version.
- See diag.

## Enabling Diagnostics

Use the diag command to enable warm restart diagnostics on a module. Use the diag-level command to set the diagnostics level on a module.

diag-level

- Use to set the diagnostics level on the active or standby SRP module to reduce the boot time during a cold and a warm boot.
- Use the normal keyword (default) to execute full diagnostics on the boot of the line card.
- Use the bypass keyword to skip diagnostic tests on the boot of the line card.
- Example —Bypasses diagnostic tests
  host1#diag—level bypass
- There is no no version.
- See diag-level.