show dual-phase-bootup-status
Syntax
show dual-phase-bootup-status
Description
Check the current status of a dual-phase bootup or see if dual-phase bootup is enabled. There are four possible statuses:
-
Enabled : This state means the dual-phase-bootup feature is enabled and it is waiting to load the device with the rescue configuration file (rescue.conf) on the next reboot.
-
Reboot activated: During a reboot the device was able to find the rescue configuration. Post reboot, if the device is still in this state, then there was a problem loading the rescue configuration on the device.
-
rescue.conf operational: The device arrives at this state when the reboot is successful, and the device comes up with the rescue configuration rescue.conf.
-
Enabled: This state is achieved again when the device is finished and successful with the internal commit of the last-run user configuration. Check the log messages to see if everything ran as expected during this commit of the last-run user configuration.
Required Privilege Level
system
Sample Output
show dual-phase-bootup-status
user@host> show dual-phase-bootup-status
Dual phase bootup status : Enabled
Release Information
Command introduced in Junos OS Release 23.4R1.