09-22-2016 12:28 PM - edited 03-08-2019 07:32 AM
hello
i have a cisco 3560 switch and wish to add the time from a internet timeserver
i add
ntp server 81.94.123.16
ntp server 1.ch.pool.ntp.org
ip domain lookup
domain name server is ok ping some domain also
resolving 1.ch.pool.ntp.org do not work and do a mark on the last dot
second if he add the time it is not getting the right time for switzerland
do i have still to add the timezone too? and how?
have a nice day
vic
Solved! Go to Solution.
09-22-2016 12:37 PM
Forgot to add the documantation: http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_55_se/configuration/guide/3560_scg/swadmin.html#pgfId-1298137
09-22-2016 12:37 PM
Forgot to add the documantation: http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_55_se/configuration/guide/3560_scg/swadmin.html#pgfId-1298137
09-22-2016 12:37 PM
Hi vic
You need to define a name server before the lookup will work for 1.ch.poo.ntp.org.
ip name-server 8.8.8.8
And the ntp server 1.ch.pool.ntp.org will then resolve the DNS name and put the ip address in the configuration.
It can take several minutes for the sync to take place.
show ntp stat ! shows synconization time
show ntp asso ! show if the sync is working
You still have to change the timezone with:
clock timezone MyZone -3 0
clock summer-time MyZone recurring last Sun Mar 2:00 last Sun Oct 2:00
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_55_se/configuration/guide/3560_scg/swadmin.html#pgfId-1298137
Regards.
09-22-2016 12:47 PM
thanks for your fast answer!
i have added
clock timezone EET 1
clock summer-time EEST recurring last Sun Mar 2:00 last Sun Oct 3:00
---
and the time is no right
why do i have to add a 1 behind EET?
on a cisco page i found
EET |
Eastern Europe Time, as UTC + 2 |
09-22-2016 01:31 PM
Hi
The 1 means UTC +1. So in your case it would be EET 2.
-5 means UTC -5 hours and so on.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide