RE: NTP - configuring keys

From: Jason Cash (cash2001@swbell.net)
Date: Fri May 02 2003 - 11:55:33 GMT-3


I already know that! I was wanting to know the difference between:
 
Ntp server x.x.x.x key 1
 
And
 
Ntp server x.x.x.x
Trusted-key 1
 
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
folivore
Sent: Friday, May 02, 2003 2:59 AM
To: Jason Cash; ccielab@groupstudy.com
Subject: Re: NTP - configuring keys
 
your first example needs ntp trusted-key 1
 
----- Original Message -----
From: "Jason Cash" <cash2001@swbell.net>
To: <ccielab@groupstudy.com>
Sent: Friday, May 02, 2003 12:05 AM
Subject: NTP - configuring keys
 
 
> I was running thru the NTP portion on section 19 of IPE and could not
> get the NTP peers to sync to the master with this config:
>
> ntp authentication-key 1 md5 011A1601431B031D35 7
> ntp authenticate
> ntp server 150.50.24.4 key 1
>
> but when I remove key 1 from the ntp server and insert 'ntp
> trusted-key 1' it does sync.
>
>
> CONFIG
> ntp authentication-key 1 md5 011A1601431B031D35 7
> ntp authenticate
> ntp trusted-key 1
> ntp server 150.50.24.4
>
> Are these commands the same? What would keep the device from sync'ing?

> I noticed that R2 did get the time from R4, it just was not sync'd.
>
> (without trusted-key)
> r2#sh ntp assoc
>
> address ref clock st when poll reach delay offset disp ~150.50.24.4
> 127.127.7.1 8 7 64 0 33.6 320871 16000.
> * master (synced), # master (unsynced), + selected, - candidate, ~
> configured
>
> (with trusted-key)
> r2# sh ntp assoc
>
> address ref clock st when poll reach delay offset disp *~150.50.24.4
> 127.127.7.1 8 0 64 377 27.9 -1.23 0.1
> * master (synced), # master (unsynced), + selected, - candidate, ~
> configured



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2003 - 15:13:35 GMT-3