Symptom
Nexus switch is configured as an NTP client of multiple (more than one) NTP servers. Intermittently it loses the sync with all configured servers although Rx packets from the servers are received by the NTP process.
Conditions
This affects all Nexus switches (3/5/6/7/9K). The condition is that the switch is configured with more than one "ntp server" and one or more servers is configured with the "prefer" option.
Workaround
Change the NTP configuration by adding/removing an NTP server, or by removing the "prefer" option from all configured servers.
Further Problem Description
When the sync is lost, an ntp error log message similar to the below is seen:
%NTP-2-NTP_SYSLOG_INIT_FAIL: : Error binding to ip addr, Errno = 98
Provided that NTP logging is enabled during that time. To enable NTP logging:
switch(config)# ntp logging
To verify if NTP logging is enabled:
switch# show ntp logging-status
NTP logging enabled.
switch#