To set the calendar from the system clock, use the clock update-calendar EXEC command.
clock update-calendar
This command has no arguments or keywords.
EXEC
Release | Modification | 10.0 | This command was introduced. |
---|
Some platforms have a calendar which is separate from the system clock. This calendar runs continuously, even if the router is powered off or rebooted.
If the system clock and calendar are not synchronized, and the system clock is more accurate, use this command to update the calendar to the correct date and time.
The following example copies the current time from the system clock to the calendar:
clock update-calendar
Command | Description |
---|---|
clock read-calendar | Manually reads the calendar into the system clock. |
ntp update-calendar | Periodically updates the calendar from Network Time Protocol (NTP). |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.