cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2661
Views
15
Helpful
2
Replies

Can I configure two ntp servers as a source for a switch?

 

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

 

 

2 Replies 2

marce1000
VIP
VIP

 

 - Leave the priority statements aside, the device will use the ntp server offering the best stratum value , 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

joelm
Level 1
Level 1

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.

 

Review Cisco Networking for a $25 gift card