Manoj Reddy's Reference Guide

clock read-calendar

To manually read the calendar into the system clock, use theclock read-calendar EXEC command.

clock read-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. When the router is rebooted, the calendar is automatically read into the system clock. However, you may use this command to manually read the calendar setting into the system clock. This command is useful if the calendar set command has been used to change the setting of the calendar.

Examples

The following example configures the system clock to set its date and time by the calendar setting:

clock read-calendar

Related Commands

CommandDescription
calendar set Sets the system calendar.
clock set Manually set the system clock.
clock update-calendar Sets the calendar from 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.