clock read-calendar
To manually copy the hardware clock (calendar) settings into the software clock, use the clock read-calendar command in EXEC modeAdmin EXEC mode.
clock read-calendar
Syntax Description
This command has no keywords or arguments.
Command Default
Read calendar is disabled.
Command Modes
EXEC mode
Admin EXEC mode
Command History
Release |
Modification |
---|---|
Release 3.7.2 |
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.
RP/0/RSP0/CPU0:router# clock read-calendar
RP/0/RSP0/CPU0:router# show clock
14:31:57.089 PST Tue Feb 10 2008