Configuration Guide Basic Switch Management Configuration
Updating Hardware Clock
Some platforms use hardware clock (calendar) to implement software clock.
Since battery enables hardware clock to run continuously, even though the
device is closed or restarts, hardware clock still runs.
If hardware clock and software clock are asynchronous, then software clock is
more accurate. Execute clock update-calendar command to copy date and
time of software clock to hardware clock.
In the privileged mode, execute clock update-calendar command to make
software clock overwrite the value of hardware clock.
Execute the command below to copy current date and time of software clock
to hardware clock.
Ruijie# clock update-calendar
Scheduled Restart
Overview
This section describes how to use the reload [modifiers] command to schedule
a restart scheme to restart the system at the specified time. This function
facilitates user's operation in some circumstance (for the purpose of test, for
example). Modifiers is a set of options provided by the reload command,
making the command more flexible. The optional modifiers includes in, at and
cancel. The following are the details:
1. reload in mmm | hhh:mm [string]
This command sets the system restart in fixed intervals in the format of mmm or
hhh:mm. string is a help prompt. You can give the scheme a memorable name
by the string to indicate its purpose. string is a prompt. For example, to reload
the system at the interval of 10 minutes for test, type reload in 10 test.
2. reload at hh:mm day month year [string]
This command sets the system restart at the specified time in the future ,which
must not be more than 200 days from the curent system time . The usage of
string is just like above. For example, if the current system time is 14:31 on
January 10, 2005, and you want the system to reload tomorrow, you can input
reload at 08:30 11 1 2005 newday. If the current system time is 14:31 on