Rebooting your switch
CAUTION: Rebooting the switch interrupts network services. To avoid configuration loss, use the save command to save the running configuration before a reboot. Before a reboot, use the display startup and display boot-loader commands to verify whether you have specified the correct startup configuration file and startup software images. | ||
You can reboot the switch in one of the following ways:
Power off and then power on the switch. This method might cause data loss, and is the least-preferred method.
Immediately reboot the switch at the CLI.
Schedule a reboot at the CLI, so the switch automatically reboots at the specified time or after the specified period of time.
The first method is called "cold reboot" or "cold startup". The second and third methods are called "warm reboot" or "warm startup", and can be used remotely.
For data security, if you reboot the switch while the switch is performing file operations, the switch does not reboot.
The precision of the rebooting timer is 1 minute. One minute before the rebooting time, the switch prompts "REBOOT IN ONE MINUTE" and reboots in one minute.
To reboot cards or switches immediately at the CLI, execute one of the following tasks as needed in user view:
Task | Command | Remarks |
---|---|---|
In standalone mode, reboot a card, or the switch immediately. | reboot [ slot slot-number ] [ force ] | If you reboot the active MPU or do not specify the slot keyword, the reboot command reboots the switch. |
In IRF mode, reboot an IRF member switch, a card on the switch, or all IRF member switches. | reboot [ chassis chassis-number [ slot slot-number ] ] [ force ] | If you reboot the active MPU or do not specify the slot keyword, the reboot command reboots the member switch. |
To schedule a reboot, execute either of the following commands in user view:
Task | Command | Remarks |
---|---|---|
Specify the reboot date and time. | schedule reboot at time [ date ] | By default, the reboot date and time is not specified. |
Specify the reboot delay time. | schedule reboot delay time | By default, the reboot delay time is not specified. |