05-22-2022 10:59 AM
Dear all,
Maybe you face the same issue as me, here is the problem: I set some ntp servers on my switch with poll interval enable. After registering the different servers, it get the time correctly and show them as "up" and the next day, they are all "down" and it never get again the time. I try to ping the ntp server using the FQDN and it's ok. Here are the screenshots:
When I reboot the switch, it get the time correctly, but only once, and later it switch again to "down". At the time of the screenshot, ntp12 server was really down.
I try some other servers like *.ch.pool.ntp.org or with IP addresses, same issue.
Thanks in advance for your answers
05-22-2022 11:44 PM
- 1) Check logs or preferably use a syslog server for logging , check if you can find logs related to SNTP (problems) or not 2) Use latest firmware on the sg250 3) Check if no intermediate firewall blocking SNTP , for example spin-up a linux vm for testing SNTP to the intended servers.
M.
05-22-2022 11:55 PM
Dear Marce,
Thank you for your quick answer. Here are my answers:
1) I'll do that and post the result
2) I have the 2.5.8.12 firmware running, but I had this issue with all the previous firmware.
3) sntp work correctly with all my other devices to these sntp servers: Syno NAS, router, WiFi AP, Win 10, Raspberry pi, ... Even an old SG200 switch. Only my two SG250 have this issue. And the gateway/dns config work correctly, the switch can ping the sntp server using it's FQDN.
And as mentioned in my first post: When I add the server to the list or when I reboot the switch, it can get the time from the sntp server. But since the next polling, it shows "down", and that forever until next reboot.
05-23-2022 01:13 AM - edited 05-23-2022 01:14 AM
...1) I'll do that and post the result
If this and suggestions from other poster don't lead to anything , consider contacting Cisco :
https://www.cisco.com/c/en/us/support/web/tsd-cisco-small-business-support-center-contacts.html
Note also , that if other reply from user is implemented such as the fact that the NTP service should be queried on a regular basis, then I would suspect to see that in the logs too (also check in these menus if the poll interval period is configurable and or for instance can be shortened)
M.
05-23-2022 12:03 AM
05-23-2022 12:39 AM
Dear Emilio,
Thank you for your answer, here are mine:
1) I do that all the time. I use "time range" for some PoE devices and this feature is only available in "Advanced mode".
2) I did that many time and with different servers, using IP addresses or FQDN, always the same issues.
Etienne
05-24-2022 10:36 PM
Dear all,
I activate all log level in my switch, but didn't get any log about sntp. The poll interval is 1024 second (about 17 minutes) as mentioned in the Command Line Interface Reference Guide at page 231, but no sntp log after >25 min.
Etienne
05-24-2022 11:03 PM
- Do you have the same problems when using traditional NTP ?
M.
05-24-2022 11:13 PM
Well, it's not possible to chose between NTP or SNTP on the SG250. But as I mentioned in one of my answers, all other devices in my network get the time correctly, using NTP or SNTP. Even an old SG200 switch.
Etienne
05-24-2022 11:52 PM
- Review this document as a (final) checklist if everything is setup correctly : https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-200-series-managed-switches/smb4978-setting-system-time-dynamically-from-a-sntp-server-for-200-3.html or otherwise work with Cisco : https://www.cisco.com/c/en/us/support/web/tsd-cisco-small-business-support-center-contacts.html
M.
07-11-2022 02:50 AM
Hi,
Everything is setup correctly. Finally I add a local NTP server to my network and let my switches point to it. Doing like this work like a charm.
Regards,
Etienne
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