Manoj Reddy's Reference Guide

clock update-calendar

To set the calendar from the system clock, use the clock update-calendar EXEC command.

clock update-calendar

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

ReleaseModification
10.0

This command was introduced.

Usage Guidelines

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.

Examples

The following example copies the current time from the system clock to the calendar:

clock update-calendar

Related Commands

CommandDescription
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.