
gert at greenie
Nov 24, 2009, 11:39 PM
Post #11 of 11
(1592 views)
Permalink
|
|
Re: New feature, can't find it documented - NTP using DNS
[In reply to]
|
|
Hi, On Tue, Nov 24, 2009 at 09:49:37PM -0600, Justin Shore wrote: > At boot the 'ntp source' command is stripped out every time. During the > boot sequence right before the "Press RETURN to get started" line this > error is printed: > > ntp source Loopback0 > ^ > % Invalid input detected at '^' marker. > > Note how it points specifically to the number in the interface name. Well, "Loopback" is fine, but there is no Loopback *0* yet. So it makes sense to complain about the 0... (Well, there is no Loopback at all, at this point, but the parser might not be *that* smart). [..] > I've run out of routers to test this on that can run 12.4(24)T2. I > might be able to try it on a 7201 and 7206 later this week but I fully > expect the same results. It's a parser bug that needs to be squashed, > though it may not manifest again if the DEs don't ever arbitrarily move > the NTP config around in the running-config. I'm convinced that it's > the cause or certainly part of the problem. I don't think it's a parser bug - it's a confgen bug. The NTP config being stored before the interface config will inevitably result in exactly the problem you have seen: you can't reference "lo0" because it does not exist yet. (Stupid enough that such things are done carelessly, but I can't see ANY justification for doing this in between T sub-releases. T1->T2 should only ever get bug fixes, not gratious code changes "just because we can"). gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert [at] greenie fax: +49-89-35655025 gert [at] net
|