< Home

Restarting the Device

Pre-configuration Tasks

To make sure the specified system software and files take effect, restart the device after system startup configuration is complete.
  • Before restarting the device, configure system startup files.

Context

Use either of the following methods to restart the device:
  • Restart the device immediately after configuration: The device restarts immediately after the reboot command is run.
  • Restart the device at a scheduled time: The device can be restarted at a specified time later. When the configuration is complete, you can configure the device to restart at time when few services are running to minimize the impact of device restart on services.

The device records information about restart. Run the display reboot-info command to view restart information. Run reset reboot-info command to clear restart information.

  • Do not restart the device unless necessary because device restart causes service interruption in a short time.

  • Save the current configuration so that it will take effect after the device restarts.

Procedure

  • Restart the device immediately.

    In the user view, run the reboot [ fast | save diagnostic-information ] command to restart the device.

    • The fast parameter indicates quick restart of the device. The system does not ask you whether to save the configuration file in fast startup.

    • save diagnostic-information indicates that the system will save the diagnostic information to root directory of the storage device before restarting.

  • Restart the device at a scheduled time.

    In the user view, run the schedule reboot { at time | delay interval [ force ] } command to restart the device at scheduled time.

    • at time specifies the specific time to restart the device.
    • delay interval [ force ] specifies the waiting time before restarting the device.

      If the force parameter is not specified, the system compares the configuration file with the current configuration and asks you whether to save the current configuration if they differ. After this, the system prompts you to confirm the configured restart time by entering either Y or y. If the force parameter is specified, the system does not display any message, and the restart time takes effect without further input. The current configuration is not compared or saved.

Verifying the Configuration

  • If a scheduled restart is configured, run the display schedule reboot command to check the device restart configuration.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >