193
CAUTION:
•
Device reboot can interrupt network services.
•
Changing any clock setting can cancel the reboot schedule.
The reboot delay cannot exceed 30 x 24 x 60 minutes, or 30 days.
The device supports only one device reboot schedule. If you configure the
schedule reboot delay
command multiple times, the last configuration takes effect. The
schedule reboot at
command and the
schedule reboot delay
command overwrite each other, and whichever is configured last takes effect.
The alert "REBOOT IN ONE MINUTE" appears one minute before the reboot time.
For data security, if you are performing file operations at the reboot time, the system does not reboot.
Examples
# Schedule a device reboot in 88 minutes. This example assumes that the current time is 11:48 on June
6, 2006.
<Sysname> schedule reboot delay 88
Reboot system at 13:16 06/06/2006(in 1 hour(s) and 28 minute(s)). confirm? [Y/N]:
Enter
y
at the prompt. If you have used the
terminal logging
command to enable the log display function
(enabled by default) on the terminal, the system automatically displays a reboot schedule log message.
<Sysname>
%Jun 6 11:48:44:860 2006 Sysname CMD/4/REBOOT:
vty0(192.168.1.54): Set schedule reboot parameters at 11:48:44 06/06/2006, and system will
reboot at 13:16 06/06/2006.
Related commands
schedule reboot at
shutdown-interval
Use
shutdown-interval
to set the port status detection timer.
Use
undo
shutdown-interval
to restore the default.
Syntax
shutdown-interval
time
undo shutdown-interval
Default
The port status detection timer is 30 seconds.
Views
System view
Default command level
2: System level
Parameters
time
: Specifies the port status detection timer in seconds, which ranges from 0 to 300.