cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
722
Views
0
Helpful
5
Replies

Nexus 5k ntp issue

sunilferrao
Level 1
Level 1

Hello

i am having ntp sync issue between catalyst switch and nexus 5k which is running as ntp server

catalyst switch is not able to take ntp from 5k when i use the source as 5k loopback , if i use svi its working ,any idea what could be the issue as per debug 5k not responding for catalyst switch ntp request

Cheers

Sunil

5 Replies 5

is the loopback reachable?

Hi Madhu

There is no issue with end to end reachability,everything working except NTP

can you please share the config of ntp from both 5k and catalyst

here it is

Catalyst 3560 output;-

#config:-
ntp source Vlan1
ntp server 10.143.11.11 prefer

#Logs:-

.mar 1612:19:11.947: NTP message sent to 10.143.11.11, from interface 'Vlan1' (10.100.1.33).
.mar 1612:21:20.946: NTP message sent to 10.143.11.11, from interface 'Vlan1' (10.100.1.33).
.mar 1612:22:26.947: NTP message sent to 10.143.11.11, from interface 'Vlan1' (10.100.1.33).
.mar 1612:23:32.944: NTP message sent to 10.143.11.11, from interface 'Vlan1' (10.100.1.33).
.mar 1612:24:36.946: NTP message sent to 10.143.11.11, from interface 'Vlan1' (10.100.1.33).
.mar 1612:25:42.947: NTP message sent to 10.143.11.11, from interface 'Vlan1' (10.100.1.33).

#sh ntp status
Clock is unsynchronized, stratum 16, no reference clock
nominal freq is 286.1023 Hz, actual freq is 286.1023 Hz, precision is 2**17
reference time is 00000000.00000000 (04:00:00.000 GMT Mon Jan 1 1900)
clock offset is 0.0000 msec, root delay is 0.00 msec
root dispersion is 0.35 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 64, never updated.


#sh ntp associations

  address         ref clock       st   when   poll reach  delay  offset   disp
 ~10.143.11.11    .INIT.          16      -     64     0  0.000   0.000 15937.
 * sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured

 

Nexus 5K:-

#config:-

ntp distribute
ntp server 10.130.6.74 prefer
ntp server 10.130.106.74
ntp source 10.143.11.11
ntp logging
ntp master 3

#Logs:-

2016 mar 1617:19:39.781886 netstack: [3621] (default) Rcvd packet on Vlan551 (mbuf_prty 0): s=10.100.1.33, d=10.143.11.11, proto=17 (udp), ip_len=76, id=0000, ttl=254
2016 mar 1617:19:39.782780 netstack: [3621] (default) Send packet on Vlan551 (mbuf_prty 0): s=10.143.11.11, d=10.100.1.33, nh=10.100.1.33, proto=17 (udp), ip_len=76, id=2d9b, ttl=255
2016 mar 1617:19:39.783345 netstack: [3621] (default) Send packet on Vlan551 (mbuf_prty 0): s=10.143.11.11, d=10.100.1.33, proto=17 (udp), ip_len=19456, id=9b2d, ttl=255
2016 mar 1617:20:35.074185 ntp: Sending Time of day upd to standby

 

# sh ntp statistics peer ipaddr 10.100.1.33

 

2016 mar 16 16:44:09.662219 ntp: ntp_process_mts_msg: Opcode received: MTS_OPC_NTP_SHOW_REQ
2016 mar 16 16:44:09.672340 ntp: ntp_doquery: sendrequest, num attempts = 30
2016 mar 16 16:44:09.682529 ntp: ntp_doquery: sendrequest, num attempts = 29
2016 mar 16 16:44:09.692696 ntp: ntp_doquery: sendrequest, num attempts = 28
2016 mar 16 16:44:09.702860 ntp: ntp_doquery: sendrequest, num attempts = 27
2016 mar 16 16:44:09.713024 ntp: ntp_doquery: sendrequest, num attempts = 26
2016 mar 16 16:44:09.723190 ntp: ntp_doquery: sendrequest, num attempts = 25
2016 mar 16 16:44:09.744120 ntp: ntp_doquery: sendrequest, num attempts = 24
2016 mar 16 16:44:09.754615 ntp: ntp_doquery: sendrequest, num attempts = 23
2016 mar 16 16:44:09.765105 ntp: ntp_doquery: sendrequest, num attempts = 22
2016 mar 16 16:44:09.775582 ntp: ntp_doquery: sendrequest, num attempts = 21
2016 mar 16 16:44:09.786065 ntp: ntp_doquery: sendrequest, num attempts = 20
2016 mar 16 16:44:09.796570 ntp: ntp_doquery: sendrequest, num attempts = 19
2016 mar 16 16:44:09.808236 ntp: ntp_doquery: sendrequest, num attempts = 18
2016 mar 16 16:44:09.818744 ntp: ntp_doquery: sendrequest, num attempts = 17
2016 mar 16 16:44:09.829256 ntp: ntp_doquery: sendrequest, num attempts = 16
2016 mar 16 16:44:09.839758 ntp: ntp_doquery: sendrequest, num attempts = 15
2016 mar 16 16:44:09.850283 ntp: ntp_doquery: sendrequest, num attempts = 14
2016 mar 16 16:44:09.860806 ntp: ntp_doquery: sendrequest, num attempts = 13
2016 mar 16 16:44:09.871335 ntp: ntp_doquery: sendrequest, num attempts = 12
2016 mar 16 16:44:09.881869 ntp: ntp_doquery: sendrequest, num attempts = 11
2016 mar 16 16:44:09.892400 ntp: ntp_doquery: sendrequest, num attempts = 10
2016 mar 16 16:44:09.902925 ntp: ntp_doquery: sendrequest, num attempts = 9
2016 mar 16 16:44:09.913452 ntp: ntp_doquery: sendrequest, num attempts = 8
2016 mar 16 16:44:09.923979 ntp: ntp_doquery: sendrequest, num attempts = 7
2016 mar 16 16:44:09.934283 ntp: ntp_doquery: sendrequest, num attempts = 6
2016 mar 16 16:44:09.944810 ntp: ntp_doquery: sendrequest, num attempts = 5
2016 mar 16 16:44:09.961605 ntp: ntp_doquery: sendrequest, num attempts = 4
2016 mar 16 16:44:09.976275 ntp: ntp_doquery: sendrequest, num attempts = 3
2016 mar 16 16:44:09.986480 ntp: ntp_doquery: sendrequest, num attempts = 2
2016 mar 16 16:44:09.996673 ntp: ntp_doquery: sendrequest, num attempts = 1
2016 mar 16 16:44:09.996778 ntp: ntp_doquery: ntp_doquery through
2016 mar 16 16:44:09.996795 ntp: ntp_handle_show_pstats: Could not get peer statistics, ret_val = 1077346326, num_recvd = 0
2016 mar 16 16:44:09.996825 ntp: Sending cmi response with return_code = 0x40370016
2016 mar 16 16:44:09.996842 ntp: setting global CMI msg req to NULL

can i use ntp from default vrf as i have not configured mgmt vrf

is it mandatory for mgmt vrf to be configure for ntp to work ?

Review Cisco Networking products for a $25 gift card