Configuration procedure
To immediately reboot the device, execute either of the following commands as appropriate in user view:
Task
Reboot a card or the entire device in standalone
mode.
Reboot an IRF member device or all IRF member
devices in IRF mode.
To schedule a reboot, execute either of the following commands in user view:
Task
Specify the reboot date
and time.
Specify the reboot delay
time.
Scheduling a task
You can schedule the device to automatically execute a command or a set of commands to complete
certain management tasks.
You can configure a one-time schedule or a periodic schedule. A one-time schedule is not saved to the
configuration file, and is lost when the device reboots. A periodic schedule is saved to the startup
configuration file and will be automatically executed periodically.
Configuration guidelines
The default system time is always restored at reboot. To make sure a task schedule can be executed
•
as expected, reconfigure the system time or configure NTP after you reboot the device. For more
information about NTP, see Network Management and Monitoring Configuration Guide.
•
Make sure all commands in a schedule are compliant to the command syntax. The system does not
check the syntax when you assign a command to a job.
A schedule cannot contain any of these commands: telnet, ftp, ssh2, and monitor process.
•
A schedule does not support user interaction. If a command requires a yes or no answer, the system
•
always assumes that a Y or Yes is entered. If a command requires a character string input, the
system assumes that the default character string (if any) is entered, or a null string is entered.
•
A schedule is executed in the background, and no output (except for logs, traps, and debug
information) is displayed for the schedule.
Configuration procedure
To configure a one-time schedule for the device:
Command
reboot [ slot slot-number ]
reboot [ chassis chassis-number [ slot slot-number ] ]
Command
scheduler reboot at time [ date ]
scheduler reboot delay time
178
Remarks
By default, no reboot date or time is specified.
By default, no reboot delay time is specified.