Date and Time Sharing to all?

Answered Question
Aug 10th, 2010

Hi,



I want to share the TIME and DATE whatever, I configure on one Router auto configure on all connected router How I can do any configurection guide or what we can call for this JOB.


Please help and if any idea about it please share..

Correct Answer by Conor Cunningham about 6 years 6 months ago

Hi Abhinay,


On your master router once you have configured the clock, you can set it as the master ntp server.


e.g.


R1#(config) ntp master 3


on the other routers, you can configure them as ntp slaves, e.g.


R2#(config) ntp server ipAddressOfR1


There are lots of other options for NTP but this should do the trick.


You can debug with debug ntp events and debug ntp sync


Cheers,


Conor

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Conor Cunningham Tue, 08/10/2010 - 05:38

Hi Abhinay,


On your master router once you have configured the clock, you can set it as the master ntp server.


e.g.


R1#(config) ntp master 3


on the other routers, you can configure them as ntp slaves, e.g.


R2#(config) ntp server ipAddressOfR1


There are lots of other options for NTP but this should do the trick.


You can debug with debug ntp events and debug ntp sync


Cheers,


Conor

Leo Laohoo Tue, 08/10/2010 - 14:56

I wouldn't configure Cisco appliance as an authoritative NTP server (ntp master).  Cisco does not even recommends the use of the "ntp master" command because it may confuse others downstream.


If you have Windows servers, you can configure them to be an authoritative NTP server.


How to configure an authoritative time server in Windows XP
http://support.microsoft.com/kb/314054


How to configure an authoritative time server in Windows Server
http://support.microsoft.com/kb/816042


How to configure an authoritative time server in Windows 2000
http://support.microsoft.com/kb/216734



Sure, all of your switches can get their time sync on your appkiacne but you don't have to configure "ntp master" to it.  Just point your switches to it using the command "ntp server [prefer]".



The reason why I don't recommend a Cisco appliance as an authoritative NTP/SNTP server is because the clock chip is similar to a PC.  It doesn't have a dedicated method of verifying.  You can, however, let your appliance synchronize it's own clock with something that is authoritative.  You can get a cheap NTP server that uses GPS (best method so far).  Another option is to open a port in the firewall to allow the   appliance to talk to world-wide NTP pool using the command "ntp server [prefer]".

Actions

This Discussion