08-29-2020 01:49 AM
Hey guys,
Can I configure two different ntp servers as a time source for my cisco 9500 Switch at the same time? like below? Thanks.
ntp server 10.110.70.14 priority 1
ntp server 10.110.70.13 priority 2
ntp enable
08-29-2020 03:14 AM
- Leave the priority statements aside, the device will use the ntp server offering the best stratum value ,
M.
09-02-2020 12:31 AM - edited 09-26-2020 05:17 PM
You can have as many NTP servers as you want (up to about 15? or so). NTP will poll all of them and figure out the best source of time.
Here's my configuration:
switch#show run | incl ntp ntp server 98.191.213.2 ntp server 98.191.213.7
ntp server 98.191.213.12 ntp server 98.191.213.14 switch#show ntp associations address ref clock st when poll reach delay offset disp +~98.191.213.2 .GPSD. 1 58 64 377 1.534 0.584 2.441 +~98.191.213.7 .GPS. 1 41 64 377 1.487 0.726 3.865
+~98.191.213.12 .GPSD. 1 10 64 377 1.475 0.643 5.100 *~98.191.213.14 .GPSD. 1 41 64 377 1.934 -0.149 2.877 * sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured
For the best time, you want to pick NTP servers that are "close" to you, network-wise.
Feel free to use those IPs if you like; they are all in the Public NTP pool and are located in Virginia.
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