reboot
Use reboot to reboot a card or the entire system. (In standalone mode.)
Use reboot to reboot an IRF member device or all IRF member devices. (In IRF mode.)
Syntax
In standalone mode:
reboot [ slot slot-number ] [ force ]
In IRF mode:
reboot [ chassis chassis-number [ slot slot-number ] ] [ force ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
chassis chassis-number: Specifies an IRF member device by its member ID. (In IRF mode.)
slot slot-number: Specifies a card by its slot number.
force: Reboots the device immediately without performing any software check. If this keyword is not specified, the system checks, for example, whether the main system software image file exists and whether the hard disk is not being written. If any circumstance might affect data protection, the system does not reboot the device.
Usage guidelines
CAUTION:
| ||
If the main startup software images are corrupted or missing, you must re-specify a set of main startup software images before using the reboot command to reboot the device. If you fail to do so, the device cannot start up.
For data security, the device does not reboot if you reboot the device while the device is performing file operations.
In standalone mode:
To reboot a card, specify the slot number.
To reboot the entire device, do not specify the slot number option.
To reboot the active MPU, perform the following tasks:
Identify whether the standby MPU is installed and operating correctly.
Use the display system stable state command to display system stability and status information.
If the standby MPU is not installed, the entire device will be rebooted. If the standby MPU is installed and is operating correctly, a switchover will occur.
IMPORTANT: To ensure correct operation of the system and cards, do not trigger a switchover by rebooting the active MPU if the status of a card is not Stable. | ||
In IRF mode:
You can use reboot [ chassis chassis-number [ slot slot-number ] ] on the master to reboot the master or a subordinate member device.
To reboot a card, specify both the IRF member ID and the slot number.
To reboot an IRF member device, specify only the IRF member ID.
To reboot all IRF member devices, do not specify the member ID or slot number option.
To reboot the global active MPU, perform the following tasks:
Identify whether the IRF fabric has global standby MPUs and whether the global standby MPUs are operating correctly.
Use the display system stable state command to display system stability and status information.
If the IRF fabric has only one MPU, the IRF fabric will be rebooted. If the IRF fabric has a global standby MPU and the MPU is operating correctly, a switchover will occur.
NOTE: To ensure correct operation of the IRF fabric and MPUs, do not trigger a switchover by rebooting the global active MPU if the status of a card is not Stable. | ||
Examples
# Reboot the device when no configuration change has occurred since the last time you saved the running configuration.
<Sysname> reboot Start to check configuration with next startup configuration file, please wait.........DONE! This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait...
# If any configuration has changed, reboot the device and save the configuration.
<Sysname> reboot Start to check configuration with next startup configuration file, please wait.........DONE! Current configuration may be lost after the reboot, save current configuration? [Y/N]:y Please input the file name(*.cfg)[flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): flash:/startup.cfg exists, overwrite? [Y/N]:y Validating file. Please wait... Saved the current configuration to mainboard device successfully. This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait...
# If any configuration has changed, reboot the device but do not save the configuration.
<Sysname> reboot Start to check configuration with next startup configuration file, please wait.........DONE! Current configuration may be lost after the reboot, save current configuration? [Y/N]:n This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait...
# Reboot the device immediately without performing any software check.
<Sysname> reboot force A forced reboot might cause the storage medium to be corrupted. Continue? [Y/N]:y Now rebooting, please wait...
# In standalone mode, reboot the interface card in slot 2.
<Sysname> reboot slot 2 This command will reboot the specified slot, Continue? [Y/N]:y Now rebooting, please wait...
# In standalone mode, reboot the interface card in slot 2 by force.
<Sysname> reboot slot 2 force A forced reboot might cause the storage medium to be corrupted. Continue? [Y/N]: Now rebooting, please wait...
# In IRF mode, reboot IRF member device 2.
<Sysname> reboot chassis 2 This command will reboot the specified chassis, Continue? [Y/N]:y Now rebooting, please wait...
# In IRF mode, reboot IRF member device 2 by force.
<Sysname> reboot chassis 2 force A forced reboot might cause the storage medium to be corrupted. Continue? [Y/N]: Now rebooting, please wait...
# In IRF mode, reboot the interface card in slot 2 on IRF member device 2.
<Sysname> reboot chassis 2 slot 2 This command will reboot the specified slot, Continue? [Y/N]:y Now rebooting, please wait...
# In IRF mode, reboot the interface card in slot 2 on IRF member device 2 by force.
<Sysname> reboot chassis 2 slot 2 force A forced reboot might cause the storage medium to be corrupted. Continue? [Y/N]:y Now rebooting, please wait...
Related commands
display system stable state