<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal">weylin<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Kevin Morales <kevin.moralez@gmail.com><br>
<b>Date: </b>Wednesday, July 3, 2019 at 1:24 PM<br>
<b>To: </b>john heasley <heas@shrubbery.net><br>
<b>Cc: </b>Nick Nauwelaerts <nick.nauwelaerts@aquafin.be>, Weylin Piegorsch <weylin@bu.edu>, "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net><br>
<b>Subject: </b>Re: [rancid] Unable to figure out "end of run not found"<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">ok, but  rancid do not save the output of command., <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">How I can fix this problem?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Jul 3, 2019 at 11:12 AM john heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">Wed, Jul 03, 2019 at 07:48:09AM -0600, Kevin Morales:<br>
> Hello!,<br>
> <br>
> How I can fix the problem when I run rancid for ZTE Router?. I get this<br>
> error: *End of run not found*<br>
> <br>
> the two file 172.17.1.6.new and 172.17.1.6.raw don't show any error!.<br>
> <br>
> NOPIPE=yes ./rancid -d -t cisco 172.17.1.6<br>
> <br>
> loadtype: device type cisco<br>
> loadtype: found device type cisco in /usr/local/rancid/etc/rancid.types.base<br>
> executing clogin -t 90 -c"show version;show install active;show vlan;show<br>
> running-config" 172.17.1.6<br>
> PROMPT MATCH: RT-ZTE#<br>
> HIT COMMAND: RT-ZTE  #show version<br>
>     In ShowVersion:  RT-ZTE  #show version<br>
> HIT COMMAND: RT-ZTE  #show install active<br>
>     In ShowInstallActive:  RT-ZTE  #show install active<br>
> HIT COMMAND: RT-ZTE  #show vlan<br>
>     In ShowVLAN:  RT-ZTE  #show vlan<br>
> HIT COMMAND: RT-ZTE  #show running-config<br>
>     In WriteTerm:  RT-ZTE  #show running-config<br>
> *172.17.1.6 <<a href="http://172.17.1.6" target="_blank">http://172.17.1.6</a>>: End of run not found*<br>
> <a href="http://172.17.1.6" target="_blank">172.17.1.6</a>: clean_run is false<br>
> <a href="http://172.17.1.6" target="_blank">172.17.1.6</a>: found_end is false<br>
> !</isis><br>
<br>
found end means that it found the end of the config; for type cisco,<br>
that means "^end".<br>
<br>
clean run means that it found the cli logout; for type cisco, that<br>
means "prompt[>#] exit$"<o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal"><b>Kevin Morales</b><o:p></o:p></p>
</div>
</div>
</body>
</html>