clock read-calendar
To manually copy the hardware clock (calendar) settings into the software clock, use the clock read-calendar command in the appropriate mode.
clock read-calendar
Syntax Description
This command has no keywords or arguments.
Command Default
Read calendar is disabled.
Command Modes
EXEC
System Admin EXEC
Command History
Release | Modification |
---|---|
Release 7.0.1 |
This command was introduced. |
Usage Guidelines
The calendar clock is a hardware system clock that runs continuously, even if the router is powered off or rebooted. The hardware system clock is separate from the software clock settings, which are erased when the router is power cycled or rebooted.
Use the clock read-calendar command to manually copy the hardware clock setting into the software clock.
Examples
In the following example, the hardware clock settings are copied to the software clock with the clock read-calendar command. The show clock command is then entered to display the new software clock settings.
sysadmin-vm:0_RP0# clock read-calendar
sysadmin-vm:0_RP0# show clock
Thu Jul 18 14:56:51.888 UTC
Thu Jul 18 14:56:52 UTC 2013