Command Reference Basic Management Commands
Platform
Description
None
clock update-calendar
In privileged EXEC mode, use the clock update-calendar command to overwrite the value of
hardware clock by software clock.
clock update-calendar
Parameter Description
Parameter
Description
N/A N/A
Defaults
None
Command
Mode
Privileged EXEC mode
Usage Guide
Some platforms use hardware clock as a complement. As the battery enables hardware clock to run
continuously hardware clock still runs, whether the device is turned off or restarted.
If hardware clock and software clock are out of sync, the software clock is more reliable. Execute the
clock update-calendar command to copy the date and time indicated by the software clock to the
hardware clock.
Configuration
Examples
The following example copies the current time and date indicated by the software clock to the
hardware clock:
Ruijie# clock update-calendar
Command Description Related
Commands
N/A N/A
Platform
Description
N/A
exec-timeout
To configure connection timeout for this device in LINE mode, use the exec-timeout command.
Once the connection timeout in LINE is cancelled by using the no exec-timeout command, the
connection never expires.
exec-timeout minutes [seconds]
no exec-timeout
Parameter
Parameter Description