Symptom
switch incorrectly selects itself as the best NTP server, despite having a worse (higher) stratum number.
show clock ; show ntp peer-status
03:04:52.457 UTC Tue Feb 05 2019
Time source is NTP
Total peers : 2
* - selected for sync, + - peer mode(active),
- - peer mode(passive), = - polled in client mode
remote local st poll reach delay vrf
-----------------------------------------------------------------------------------------------------------------------
=10.197.218.58 10.197.218.60 6 16 377 0.00099management
*127.127.1.0 10.197.218.60 8 16 377 0.00000 6) stratum level
Conditions
N9K configured as both NTP client and NTP server
Workaround
disable the local NTP server on N9K( "no ntp master")