[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference kali::dewbr

Title:DECbrouter-90T2,-T2A,-T1
Notice:Kits, DOCs, Release notes, SPDs notes 1-10
Moderator:FOUNDR::SHEEHAN
Created:Wed Dec 23 1992
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1313
Total number of notes:4889

1276.0. "NTP question" by OTOOA::kap430.kao.dec.com::mbaker () Fri Feb 28 1997 15:10

Hi,

I am trying to cnfigure NTP on the cisco to use an xntp v2 server :

I get the following debug info :

NTP: xmit packet to 'ip address':
 leap 3, mode 3, version 2, stratum 0, ppoll 64
 rtdel 0000 (0.000), rtdsp 10000 (1000.000), refid 00000000 (0.0.0.0)
 ref 00000000.00000000 (00:00:00.000 UTC Mon Jan 1 1900)
 org B6C02F70.2C797000 (16:06:08.173 UTC Thu Feb 27 1997)
 rec B04F955B.D8859515 (04:13:15.845 UTC Sun Sep 26 1993)
 xmt B04F959B.D5B0559A (04:14:19.834 UTC Sun Sep 26 1993)
NTP: rcv packet from 'ip address':
 leap 3, mode 4, version 2, stratum 0, ppoll 64
 rtdel 0000 (0.000), rtdsp 0000 (0.000), refid 00000000 (0.0.0.0)
 ref 00000000.00000000 (00:00:00.000 UTC Mon Jan 1 1900)
 org B04F959B.D5B0559A (04:14:19.834 UTC Sun Sep 26 1993)
 rec B6C02FB0.2CB96000 (16:07:12.174 UTC Thu Feb 27 1997)
 xmt B6C02FB0.2CF96000 (16:07:12.175 UTC Thu Feb 27 1997)
 inp B04F959B.D8856CA3 (04:14:19.845 UTC Sun Sep 26 1993)
NTP: packet from 205.210.189.1 failed validity tests 20


What does the 'failed validity tests 20' means ???
The Cisco documentation does not say anything about the NTP debug output
and how to use it ???? Is there som doc that describes the failed tests
??

Tx

Michel

T.RTitleUserPersonal
Name
DateLines
1276.1Need Config infoFOUNDR::SHEEHANTue Mar 04 1997 09:4019
Hi Michel,

Please send the NTP Configuration information
on the Router.

WRITE TERM

as well as

SHOW NTP ASSOC
SHOW NTP STATUS
SHOW CLOCK
 

Regards,

Neil Sheehan
NPS/NSTG Router Support
1276.2NTP config problemOTOOA::kap430.kao.dec.com::mbakerWed Mar 05 1997 09:2665
Hi,


I have tryed two things :

1) I have setup an XNTP server on a UNIX system.

The ntp.conf file contained :

peer 127.127.1.1 version 2 (I also tryed server 127.127.1.1)

the router was configured as follow :

NTP server unix-system version 2

the result od show status and show assoc is as follow :

equit-br#show ntp assoc

      address         ref clock     st  when  poll reach  delay  offset    disp
 ~205.210.189.1    0.0.0.0          16     -    64    0     0.0    0.00  16000.
 * master (synced), # master (unsynced), + selected, - candidate, ~ configured

equit-br#show ntp status
Clock is unsynchronized, stratum 16, no reference clock
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**19
reference time is B6C80167.EDDC8CE4 (09:27:51.929 EST Wed Mar 5 1997)
clock offset is 0.00 msec, root delay is 0.00 msec
root dispersion is 0.00 msec, peer dispersion is 0.00 msec

equit-br#show clock
.09:29:14.593 EST Wed Mar 5 1997

The results of the debug ntp are in .0


2) I tryed to avoid the Unix system altogheter by configuring one of the router as a master ntp server.

router_1
---------


NTP master 10


router_2
--------

NTP server router_1 version 2


Both routers were DECBRouters 90T2 running IOS 10.2.5. However I also tryed with Cisco 2503 running 10.3.12




Any Idea what I am doing wrong ????


TX

Michel



1276.3Now partly workingOTOOA::kap430.kao.dec.com::mbakerWed Mar 05 1997 09:5747
Hi,

I found a note on http://www.nexial.nl/cgi-bin/cisco (which is 
great). 

When configuring a router as a master NTP, you have to set the time 
with the clock set command before the router starts to serve time to 
other routers. Now that I did this, I get the following on router_2 
trying to synchronize to router_1 :

on router_2
------------

eqmarbr1#show ntp assoc

      address         ref clock     st  when  poll reach  delay  
offset    disp
#~205.210.189.100  127.0.0.1        10     4    64    3    85.0    
2.14  7887.3
 * master (synced), # master (unsynced), + selected, - candidate, ~ 
configured
eqmarbr1#show ntp status
Clock is unsynchronized, stratum 16, reference is 205.210.189.100
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 
2**19
reference time is AF697DB9.A80E33AD (11:31:05.656 EDT Sun Apr 4 1993)
clock offset is 2.14 msec, root delay is 78.93 msec
root dispersion is 30023424.16 msec, peer dispersion is 463.01 msec
eqmarbr1#show clock
.10:00:16.356 EST Wed Mar 5 1997

So it seems like the time have synchrozied after a few minutes. 
However, why does the show ntp assoc command  display the ntp server 
as being #~ (master unsynced), I would assume that it would show up 
as master (synced) (*).


Tx


Michel

note : I still was not able to get NTP to synchronize to a UNIX 
system running XNTP (maybe I have to reset the time on the UNIX 
server...I'll give it a try)


1276.4now SyncedOTOOA::kap430.kao.dec.com::mbakerWed Mar 05 1997 10:056
MMM.. Seems like time now show up as syned (*) in show ntp assoc.

I guess I only had to wait for it to finish syncing with the master.


Michel