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

NTP master/peer

twissam
Level 1
Level 1

Hi,

going through the CCIE LAB, i see sometimes used ntp master and others ntp peer, i looked into the command lookup but could not figure out!!!!

Any one knows the difference?

on the other hand do we need something else on the router to make it as ntp master, like startum...

Good day

5 Replies 5

achellap
Level 1
Level 1

The NTP master command lets the NTP on the other device (ntp peer) to sync to the current node. A node could at the smae time serve time to many nodes and at the same time get synced to the many NTP masters.

Hi again,

i am confused, let us take the example below:

Router A: NTP Master

Router B, C and D: NTP peer; those will be servicing other clients, IP Phones for instance.

1)is this right?

2) how can we have multiple ntp masters!!!

Good day

NTP master will set up the router to respond to NTP time requests for peer devices. All you need to do is is configure NTP master on one router and set the clock -

UC520.120#conf t

Enter configuration commands, one per line. End with CNTL/Z.

UC520.120(config)#

UC520.120(config)#

UC520.120(config)#

UC520.120(config)#ntp master

UC520.120(config)#

UC520.120(config)#exit

UC520.120#

UC520.120#clock set 23:00:00 18 Feb 2008

UC520.120#

UC520.120#exit

UC520.120#sh ntp ?

associations NTP associations

status NTP status

UC520.120#sh ntp stat

Clock is synchronized, stratum 8, reference is 127.127.7.1

nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**18

reference time is CB63F54B.301CAAE6 (23:15:07.187 AEST Mon Feb 18 2008)

clock offset is 0.0000 msec, root delay is 0.00 msec

root dispersion is 0.02 msec, peer dispersion is 0.02 msec

UC520.120#

[Resuming connection 1 to 10.66.75.55 ... ]

on the peer router -

ntp peer 10.66.75.120

CWD.19.07-2800-3#

CWD.19.07-2800-3#sh ntp stat

Clock is synchronized, stratum 9, reference is 10.66.75.120

nominal freq is 250.0000 Hz, actual freq is 250.0002 Hz, precision is 2**18

reference time is CB63F55D.8D948760 (12:15:25.553 UTC Mon Feb 18 2008)

clock offset is -8.0557 msec, root delay is 2.11 msec

root dispersion is 9.57 msec, peer dispersion is 1.48 msec

CWD.19.07-2800-3#

All other devices peer off the master. So every peer device in the network points to the master reference.

Hi,

thanks a lot for your help, what i understand is the following:

ntp master: (it will be the server giving the time to the peers)

ntp peer ipntpmaster

ntp server ipntpmaster

In such case what is the difference between the ntp peer and ntp server (i have read somewhere that with one of them it acts as a master as well!!!)

please advice

Good day

pcameron - what if the master is configured to source time from the internet?, i.e. the 'clock set' command is not used. If this device i.e. master fails to source time - will it continue to service time requests received from it's peers?

Ajaz