clock update-calendar is a Cisco IOS privileged EXEC command that copies the software clock’s date and time to the hardware calendar. It provides a quick way to align both time sources after setting or correcting the software clock. section 2.1.2
Use the command with these operational limits:
- Run it from privileged EXEC mode, not global configuration mode. section 2.1.2
- Synchronize the calendar to the current software-clock time. section 2.1.2
- Perform a one-time synchronization; repeat the command when the two sources need realignment. section 2.1.2
Operational sequence
R1# clock set 18:30:00 August 28 2023 R1# clock update-calendar The software clock is set first, then its time is copied to the hardware calendar. Use show clock and show calendar to verify the resulting times. section 2.1.2
