Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

request system autorecovery state

 

Syntax

Release Information

Command introduced in Junos OS Release 15.1X49-D35 for SRX300, SRX320, SRX345, and SRX550M devices.

Description

Prepare the system for autorecovery of configuration, licenses, and disk information.

Options

saveSave the current state of the disk partitioning, configuration, and licenses for autorecovery.

The active Junos OS configuration is saved as the Junos rescue configuration, after which the rescue configuration, licenses, and disk partitioning information is saved for autorecovery. Autorecovery information must be initially saved using this command for the autorecovery feature to verify integrity of data on every bootup.

Note
  • Any recovery performed at a later stage will restore the data to the same state as it was when the save command was executed.

  • A fresh rescue configuration is generated when the command is executed. Any existing rescue configuration will be overwritten.

recoverRecover the disk partitioning, configuration, and licenses.

After autorecovery data has been saved, the integrity of saved items is always checked automatically on every bootup. The recovery command allows you to forcibly re-run the tests at any time if required.

clearClear all saved autorecovery information.

Only the autorecovery information is deleted; the original copies of the data used by the router are not affected. Clearing the autorecovery information also disables all autorecovery integrity checks performed during bootup.

Required Privilege Level

maintenance

Related Documentation

List of Sample Output

request system autorecovery state save

request system autorecovery state recover

request system autorecovery state clear

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request system autorecovery state save

user@host> request system autorecovery state save

Sample Output

request system autorecovery state recover

user@host> request system autorecovery state recover

Sample Output

request system autorecovery state clear

user@host> request system autorecovery state clear