# write core

#### Syntax

write core [ standby-srp | slot slotNumber ] [ force ] [ reason reasonText ]

#### Release Information

Command introduced in JunosE Release 7.3.0.

#### Description

Reboots the active SRP module, the standby SRP module, or the module in a specified slot, and writes the core dump to a file. There is no no version.

#### Options

- standby-srp—Specifies the standby SRP module
- slotNumber—Number of a selected slot in the router; for ERX7xx models, a number in the range 0–6; for ERX14xx models, a number in the range 0–13; for the ERX310 router, a number in the range 0–2; for the E120 router, a number in the range 0–5; for the E320 router, a number in the range 0–16
- force—Prompts for confirmation to reboot when the router is in certain states, such as during the synchronization of SRP modules, that can lead to a loss of configuration data or an NVS corruption

  | Note: The force keyword is available when you specify a slot only if that slot is an SRP module slot.

- reasonText—Alphanumeric text string (1–255 characters long) that explains the request for a core dump and logs it in the reboot

#### Mode

Privileged Exec