Parameter | Description | Value |
---|---|---|
fast |
Fast restarts the device. In fast restart mode, the configuration file is not saved. |
- |
save diagnostic-information |
Saves the diagnostic information before the restart. |
- |
Usage Scenario
This command functions in the same way as a power recycle operation (power off and then restart the device). The command enables you to restart the device remotely.
When the reboot fast command is run, the system restart quickly without displaying any message and the configuration is lost.
After the reboot save diagnostic-information command is run, the system will save the diagnostic information to root directory of the storage device before restarting.
Precautions
If you do not respond to the displayed message within the timeout period after running this command, the system will return to the user view and the device will not be restarted.
To avoid loss of diagnostic information after a restart, configure the device to save the diagnostic information before restarting.
This command interrupts services on the entire device. Therefore, do not use this command when the device is running properly.
Before restarting the device, ensure that the configuration file has been saved.
After converting configurations in the configuration file using the eDesk tool, restart the switch without saving the configurations. If the configurations are saved, the converted configuration file is invalid.
# Restart the device.
<HUAWEI> reboot Info: The system is now comparing the configuration, please wait........ Warning: The configuration has been modified, and it will be saved to the next s tartup saved-configuration file flash:/204.cfg. Continue? [Y/N]:y Info: If want to reboot with saving diagnostic information, input 'N' and then e xecute 'reboot save diagnostic-information'. System will reboot! Continue?[Y/N]:y
# Restart the device quickly.
<HUAWEI> reboot fast