Skip to Main Content
Cisco IOS Cookbook, 2nd Edition
book

Cisco IOS Cookbook, 2nd Edition

by Kevin Dooley, Ian Brown
December 2006
Intermediate to advanced content levelIntermediate to advanced
1188 pages
72h 8m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS Cookbook, 2nd Edition

Setting the Clock Period

Problem

You want to improve on the default value in the ntp clock-period xxxxxx command that automatically appears when you configure NTP on your router.

Solution

The router automatically generates a ntp clock-period line that it uses to help speed resynchronization after a reboot. Leave it alone:

Router#show running-config | include clock-period
ntp clock-period 17180200
Router#

Do not attempt to remove or modify the ntp clock-period command. The router automatically generates this command to compensate for internal timer inaccuracies.

Discussion

Do not modify or remove this statement from the router configuration. The router automatically adds this statement to the configuration when you enable NTP. After initialization of NTP, the router tunes the clock period to compensate for precision problems with the router’s internal clock.

The router will actually constantly change the NTP clock period. For this reason, Cisco suggests that all routers have their configurations saved to NVRAM one week after enabling NTP. This ensures that the saved clock period is accurate for the next router initialization and allows for quicker NTP synchronization.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning the Cisco Application-Centric Infrastructure (ACI)

Learning the Cisco Application-Centric Infrastructure (ACI)

Rene Cardona

Publisher Resources

ISBN: 0596527225Supplemental ContentErrata Page