09-14-2021 10:52 PM
Hi everyone. I have a problem with ntp settings on this device:
version 7.0(3)I7(6) Bios:version 4.5.0
ntp server 192.168.1.14 use-vrf default
ntp source-interface Vlan2020
clock format 24-hours
ntp access-group serve ntp-server
ntp access-group serve-only ntp-server
ntp access-group query-only query-ntp-acl
feature ntp
no ntp allow private
no ntp allow control
no ntp passive
IP access list ntp-server
10 permit ip 192.168.1.14/32 any
IP access list query-ntp-acl
10 permit ip 192.168.1.14/32 any
That`s all settings about ntp.
show ntp peer-status:
Total peers : 1
* - selected for sync, + - peer mode(active),
- - peer mode(passive), = - polled in client mode
remote local st poll reach delay vrf
-----------------------------------------------------------------------------------------------------------------------
=192.168.1.14 192.168.1.27 16 64 0 0.00000 default
Stratum is 16 and ntp isn`t working.
But on other device with version 7.0(3)I4(6) that`s all settings are working.
09-14-2021 11:31 PM
- Could be a bug as in : https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvd00648
The latter not your specific platform, but as a test I would remove all access-directives on the ntp settings ,and start by defining a bare-ntp server (only). Check what happens then.
M.
09-14-2021 11:35 PM
When i delete these 3-lines, that is all work:
ntp access-group serve ntp-server
ntp access-group serve-only ntp-server
ntp access-group query-only query-ntp-acl
Is there mistake?
09-15-2021 02:35 AM
When i delete these 3-lines, that is all work: ntp access-group serve ntp-server ntp access-group serve-only ntp-server ntp access-group query-only query-ntp-acl
what you mean by this, so your NTP Server work as expected ?
where is this ACL applied ? do you have ACL incoming and out going example for NTP
example :
access-list 101 permit udp any any eq 123
access-list 101 permit udp any eq 123 any
09-15-2021 12:28 AM
i have these mistake in logging:
%VSHD-2-VSHD_SYSLOG_EOL_ERR: EOL function ntp_cli_config from library libntpwd.so exited due to Signal 11
09-14-2021 11:44 PM
Hello,
on IOS devices, it used to be that sometimes you would have to manually set the clock initially, to something very close to the actual time, which would then make the device synchronize, you could try the same on the Nexus:
NX3064(config)# clock set 08:43:00 15 sep 2021 <-- make sure that what you enter is close to the real time...
09-14-2021 11:51 PM - edited 09-14-2021 11:52 PM
Thank you for your advice. But NTP not working. I set the device:
clock protocol none
clock set 09:48:00 15 sep 2021
clock protocol ntp
exit
ntp sync-retry
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