Cisco Systems SMC-169 manual NTP Functional Overview, SMC-170

Page 2

Implementing NTP on Cisco IOS XR Software

Prerequisites for Implementing NTP on Cisco IOS XR Software

Prerequisites for Implementing NTP on Cisco IOS XR Software

The following prerequisites are required to implement NTP in your network operating center (NOC):

You must be in a user group associated with a task group that includes the proper task IDs for CDP commands. Task IDs for commands are listed in the Cisco IOS XR Task ID Reference Guide.

For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You must have connectivity with at least one server that is running NTP.

Information About Implementing NTP on Cisco IOS XR Software

To implement NTP, you need to understand the following concept:

“NTP Functional Overview” section on page SMC-170

NTP Functional Overview

NTP synchronizes timekeeping among a set of distributed time servers and clients. This synchronization allows events to be correlated when system logs are created and other time-specific events occur.

NTP uses the User Datagram Protocol (UDP) as its transport protocol. All NTP communication uses Coordinated Universal Time (UTC). An NTP network usually receives its time from an authoritative time source, such as a radio clock or an atomic clock attached to a time server. NTP distributes this time across the network. NTP is extremely efficient; no more than one packet per minute is necessary to synchronize two machines to within a millisecond of each other.

NTP uses the concept of a “stratum” to describe how many NTP “hops” away a machine is from an authoritative time source. A “stratum 1” time server typically has an authoritative time source (such as a radio or atomic clock, or a GPS time source) directly attached, a “stratum 2” time server receives its time via NTP from a “stratum 1” time server, and so on.

NTP avoids synchronizing to a machine whose time may not be accurate in two ways. First, NTP will never synchronize to a machine that is not in turn synchronized itself. Second, NTP compares the time reported by several machines and does not synchronize to a machine whose time is significantly different than the others, even if its stratum is lower. This strategy effectively builds a self-organizing tree of NTP servers.

The Cisco implementation of NTP does not support stratum 1 service; in other words, it is not possible to connect to a radio or atomic clock (for some specific platforms, however, you can connect a GPS time-source device). We recommend that time service for your network be derived from the public NTP servers available in the IP Internet.

If the network is isolated from the Internet, the Cisco implementation of NTP allows a machine to be configured so that it acts as though it is synchronized via NTP, when in fact it has determined the time using other means. Other machines can then synchronize to that machine via NTP.

A number of manufacturers include NTP software for their host systems, and a publicly available version for systems running UNIX and its various derivatives is also available. This software also allows UNIX-derivative servers to acquire the time directly from an atomic clock, which would subsequently propagate time information along to Cisco routers.

Cisco IOS XR System Management Configuration Guide

SMC-170

Image 2
Contents Implementing NTP on Cisco IOS XR Software NTP Functional Overview SMC-170SMC-171 Configuring Poll-Based AssociationsPoll-Based Associations Summary Steps SMC-172SMC-173 Configuring Broadcast-Based NTP AssociationsBroadcast-Based NTP Associations SMC-174 SMC-175 Configuring NTP Access GroupsNTP Access Groups SMC-176 SMC-177 SMC-178 Configuring NTP AuthenticationNTP Authentication Supported is md5 SMC-179Disabling NTP Services on a Specific Interface SMC-180SMC-181 Configuring the Source IP Address for NTP Packets SMC-182SMC-183 Configuring the System as an Authoritative NTP Server SMC-184Updating the Hardware Clock SMC-185SMC-186 SMC-187 Verifying the Status of the External Reference ClockExamples SMC-188 Configuring Poll-Based Associations ExampleConfiguring Broadcast-Based Associations Example SMC-189 Configuring NTP Access Groups ExampleConfiguring NTP Authentication Example SMC-190 Configuring the Source IP Address for NTP Packets ExampleDisabling NTP on an Interface Example Standards Updating the Hardware Clock ExampleRelated Documents MIBsSMC-192 RFCsTechnical Assistance