[c-nsp] New feature, can't find it documented - NTP using DNS
Gert Doering
gert at greenie.muc.de
Wed Nov 25 02:39:09 EST 2009
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.muc.de
fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-nsp/attachments/20091125/8dfb928a/attachment.bin>
More information about the cisco-nsp
mailing list