[rancid] Unable to figure out "end of run not found"
Kevin Morales
kevin.moralez at gmail.com
Wed Jul 3 17:33:08 UTC 2019
Thanks Piegorsh,
I did it..
NOPIPE=yes ./rancid -d -t cisco 172.17.1.6
but in the two file 172.17.1.6.new and 172.17.1.6.raw don't see anything
about this error. both show the correct command output.
On Wed, Jul 3, 2019 at 11:29 AM Piegorsch, Weylin William <weylin at bu.edu>
wrote:
> If you do the “NOPIPE” thing and run rancid with the -d flag, that will
> create two files: .new, and .raw. Examine the .raw file, which is the
> byte-for-byte capture of the CLI session.
>
> weylin
>
>
>
> *From: *Kevin Morales <kevin.moralez at gmail.com>
> *Date: *Wednesday, July 3, 2019 at 1:24 PM
> *To: *john heasley <heas at shrubbery.net>
> *Cc: *Nick Nauwelaerts <nick.nauwelaerts at aquafin.be>, Weylin Piegorsch <
> weylin at bu.edu>, "rancid-discuss at shrubbery.net" <
> rancid-discuss at shrubbery.net>
> *Subject: *Re: [rancid] Unable to figure out "end of run not found"
>
>
>
> ok, but rancid do not save the output of command.,
>
>
>
> How I can fix this problem?
>
>
>
> On Wed, Jul 3, 2019 at 11:12 AM john heasley <heas at shrubbery.net> wrote:
>
> Wed, Jul 03, 2019 at 07:48:09AM -0600, Kevin Morales:
> > Hello!,
> >
> > How I can fix the problem when I run rancid for ZTE Router?. I get this
> > error: *End of run not found*
> >
> > the two file 172.17.1.6.new and 172.17.1.6.raw don't show any error!.
> >
> > NOPIPE=yes ./rancid -d -t cisco 172.17.1.6
> >
> > loadtype: device type cisco
> > loadtype: found device type cisco in
> /usr/local/rancid/etc/rancid.types.base
> > executing clogin -t 90 -c"show version;show install active;show vlan;show
> > running-config" 172.17.1.6
> > PROMPT MATCH: RT-ZTE#
> > HIT COMMAND: RT-ZTE #show version
> > In ShowVersion: RT-ZTE #show version
> > HIT COMMAND: RT-ZTE #show install active
> > In ShowInstallActive: RT-ZTE #show install active
> > HIT COMMAND: RT-ZTE #show vlan
> > In ShowVLAN: RT-ZTE #show vlan
> > HIT COMMAND: RT-ZTE #show running-config
> > In WriteTerm: RT-ZTE #show running-config
> > *172.17.1.6 <http://172.17.1.6>: End of run not found*
> > 172.17.1.6: clean_run is false
> > 172.17.1.6: found_end is false
> > !</isis>
>
> found end means that it found the end of the config; for type cisco,
> that means "^end".
>
> clean run means that it found the cli logout; for type cisco, that
> means "prompt[>#] exit$"
>
>
>
>
> --
>
> *Kevin Morales*
>
--
*Kevin Morales*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20190703/b7add360/attachment.html>
More information about the Rancid-discuss
mailing list