Discussion:
[rancid] rancid : overwrite nvram
alligator94
2015-03-26 14:52:27 UTC
Permalink
Hi all,

I use clogin -c "conf t, blablabla;wr " to do a bulk update and clogin gets
stuck when it encounters the message :

Warning: Attempting to overwrite an NVRAM configuration previously written

by a different version of the system image.





Error: TIMEOUT reached



It is due to an ios upgrade done before without saving the config.



Is there any way to ignore this message, so clogin can save the
configuration instead of timeout?



Thanks

Gilles
heasley
2015-03-26 15:10:17 UTC
Permalink
Post by alligator94
Is there any way to ignore this message, so clogin can save the
configuration instead of timeout?
i presume it requires a response; so use -s. examples come with rancid.
Dan Anderson
2015-03-26 14:58:22 UTC
Permalink
If you throw an extra \r\r after wr it should save the config for you.
Post by alligator94
Hi all,
I use clogin –c “conf t, blablabla;wr “ to do a bulk update and clogin
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Error: TIMEOUT reached
It is due to an ios upgrade done before without saving the config.
Is there any way to ignore this message, so clogin can save the
configuration instead of timeout?
Thanks
Gilles
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
Dan
alligator94
2015-03-28 06:38:11 UTC
Permalink
Hi Dan,

Thanks a lot, as it only needs to be confirmed with « Enter », it works with adding extra \r;\r



From: Dan Anderson [mailto:***@gmail.com]
Sent: jeudi 26 mars 2015 15:58
To: alligator94
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] rancid : overwrite nvram



If you throw an extra \r\r after wr it should save the config for you.



On Thu, Mar 26, 2015 at 10:52 AM, alligator94 <***@laposte.net <mailto:***@laposte.net> > wrote:

Hi all,

I use clogin –c “conf t, blablabla;wr “ to do a bulk update and clogin gets stuck when it encounters the message :

Warning: Attempting to overwrite an NVRAM configuration previously written

by a different version of the system image.





Error: TIMEOUT reached



It is due to an ios upgrade done before without saving the config.



Is there any way to ignore this message, so clogin can save the configuration instead of timeout?



Thanks

Gilles


_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net <mailto:Rancid-***@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
Dan
Loading...