â04-04-2021 11:04 AM - edited â04-04-2021 11:25 AM
I have setup 9300 switches, the IP is defined only on MGMT interface. But the time sync fails, I have other devices which are getting time from the same NTP server. Any advise.
MGMT01#show running-config | include ntp
ntp source GigabitEthernet0/0
ntp server 172.16.50.100
MGMT01#show ntp status
Clock is unsynchronized, stratum 16, no reference clock
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**10
ntp uptime is 55414000 (1/100 of seconds), resolution is 4000
reference time is 00000000.00000000 (03:00:00.000 GMT Mon Jan 1 1900)
clock offset is 0.0000 msec, root delay is 0.00 msec
root dispersion is 8312.09 msec, peer dispersion is 0.00 msec
loopfilter state is 'FSET' (Drift set from file), drift is 0.000000000 s/s
system poll interval is 8, never updated.
MGMT01#show ntp associations
address ref clock st when poll reach delay offset disp
~172.16.50.100 .TIME. 16 - 64 0 0.000 0.000 15937.
* sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured
MGMT01#show ntp information
Ntp Software Name : Cisco-ntpv4
Ntp Software Version : Cisco-ntpv4-1.0
Ntp Software Vendor : CISCO
Ntp System Type : Cisco IOS / X86
MGMT01#show ntp packets
Ntp In packets : 0
Ntp Out packets : 8482
Ntp old version packets : 0
Ntp protocol error packets : 0
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address 172.16.50.72 255.255.255.0
negotiation auto
snmp ifindex persist
I am able to ping NTP server from the switch.
Solved! Go to Solution.
â04-04-2021 12:37 PM
Hello
Please try the following:
no ntp server 172.16.50.100 prefer source GigabitEthernet0/0
ntp server vrf Mgmt-vrf 172.16.50.100 prefer
â04-04-2021 11:36 AM
Hello
Can you post the output of the following:
sh run | in ntp
ip access-list extended 100
permit udp host 172.16.50.72 host 172.16.50.100 eq ntp log
permit udp host 1172.16.50.100 eq ntp host 172.16.50.72
debug ip packet detail 100
debug ntp packets
â04-04-2021 12:31 PM
show runMGMT01#show running-config | in ntp
10 permit udp host 172.16.50.72 host 172.16.50.100 eq ntp log
20 permit udp host 172.16.50.100 eq ntp host 172.16.50.72
ntp server 172.16.50.100 prefer source GigabitEthernet0/0
I see the following logs
*Apr 4 22:21:29: %SEC-6-IPACCESSLOGP: list 100 permitted udp 172.16.50.72(123) -> 172.16.50.100(123), 1 packet
â04-04-2021 12:37 PM
Hello
Please try the following:
no ntp server 172.16.50.100 prefer source GigabitEthernet0/0
ntp server vrf Mgmt-vrf 172.16.50.100 prefer
â04-04-2021 08:40 PM - edited â04-04-2021 09:56 PM
thank you. it works now
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