Re: NTP - configuring keys

From: kasturi cisco (kasturi_cisco@hotmail.com)
Date: Fri May 02 2003 - 11:18:05 GMT-3


Jason,

>ntp authentication-key 1 md5 011A1601431B031D35 7
ntp authenticate
>ntp server 150.50.24.4 key 1

U very much need the "ntp trusted-key1 " with the above config.It tells
the peer which is the valid trusted key and "ntp server 150.50.24.4 key
1" identifies key to use. Also would be curious to know what happens when
u use the following config (it uses both).

ntp authentication-key 1 md5 011A1601431B031D35 7
ntp authenticate
ntp trusted-key 1
ntp server 150.50.24.4 key 1

Seen configs using both (though Doyle 2 does not). Let us know

Good Luck,[IMAGE]
Kasturi.

>From: "Jason Cash" >Reply-To: "Jason Cash" >To: >Subject: NTP -
configuring keys >Date: Fri, 2 May 2003 00:05:56 -0500 > >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 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

------------------------------------------------------------------------

See the stars. Upclose! Bollywood photogallery.



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