Configure Cisco router as an NTP server

An NTP server can provide synchronized date and times for devices in a network. Since a router cannot be a Stratum 1 device (cannot connect to a Stratum 0 device such as a GPS clock), a router is not an accurate source of time information. If this is not important to you, then using a router as an NTP server may be acceptable.


To configure the router to work as an NTP server, use the following command in configuration mode (following a conf t):

ntp master 8

The 8 specifies the stratum of this NTP server, essentially the number of hops away from a Stratum 0 device. The default value is 8.

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply

You may also like-

Set the time on a Cisco router manuallySet the time on a Cisco router manuallySetting the internal clock in a Cisco router allows timestamping of logging information which makes troubleshooting much easier. If you do not have an ... Virtual Server 2005:  How To Configure the Virtual DHCP ServerVirtual Server 2005: How To Configure the Virtual DHCP ServerInstead of configuring a virtual machine as a DHCP server, you can use the virtual DHCP server for your virtual network. To configure the ...