< Home

reboot

Function

The reboot command restarts the device.

Format

reboot [ fast | save diagnostic-information ]

Parameters

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.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

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.

  • If the configuration file for next startup (new configuration file) is the same as the configuration file saved on the device after the reboot command is run, the system will not ask you whether to save the configuration before the restart. If the configuration file for next startup (new configuration file) differs from the configuration file saved on the device, the system asks you whether to save the configuration before the restart, and unsaved configuration information will be lost after the restart.
  • 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.

  • If you upgrade the system software to V200R009C00 or a later version and the configuration file contains WLAN configurations, the system displays a message indicating that the configuration file conflicts with the system software for next startup when the device restarts. The system software upgrade fails. If a conflict occurs, you need to use the eDesk tool to convert configurations in the configuration file, and specify the converted configuration file as the configuration file for next startup. If the configuration file is not converted, the configurations will be lost after the system is restarted and upgraded.
  • If multiple users run the reboot save diagnostic-information command at the same time, a message indicating that the command is locked by another user is displayed.
  • If a user runs the display diagnostic-information command when another user is running the reboot save diagnostic-information command, a message indicating that the command is locked by another user is displayed.
  • The S5735-L, S5735S-L, S5735S-L-M, S5735-S, and S5735S-S support the stacking function since V200R019C10. If multiple switches set up a stack and the system software package for the next startup is earlier than V200R019C10, the stack will split after the reboot command is executed to restart any stack member. If the stacking function is enabled on a single switch, the system software package for the next startup is earlier than V200R019C10, and the stack slot renumber command is executed to change the stack ID of the switch to a non-zero value, then the stack configuration of the switch will be cleared and the slot-ID-related configuration cannot be restored after the reboot command is executed to restart the switch.

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >