<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sean,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You need to run this in the same environment that rancid runs
in. Ideally as the same user.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Mike<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> rancid-discuss-bounces@shrubbery.net
[mailto:rancid-discuss-bounces@shrubbery.net] <b>On Behalf Of </b>Sean Murphy<br>
<b>Sent:</b> Tuesday, November 11, 2008 9:58 AM<br>
<b>To:</b> Lance Vermilion<br>
<b>Cc:</b> rancid-discuss@shrubbery.net<br>
<b>Subject:</b> [rancid] Re: RANCID Debug Mode<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>OK I ran the command and received the following
output. I thought I could see it in real time like clogin unless this is
an error. I noticed that it said clogin not found but I can run that by
itself and its fine.<br>
<br>
<br>
raphael# ./rancid -d 10.0.0.1<br>
executing clogin -t 90 -c"admin show version;show version;show redundancy
secondary;show idprom backplane;show install active;admin show env all;show env
all;show rsp chassis-info;show gsr chassis;show diag chassis-info;show
boot;show bootvar;admin show variables boot;show variables boot;show flash;dir
/all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all
slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir /all harddisk:;dir
/all harddiska:;dir /all harddiskb:;dir /all sup-bootflash:;dir /all
sup-microcode:;dir /all slavenvram:;dir /all slavebootflash:;dir /all
slaveslot0:;dir /all slavedisk0:;dir /all slaveslot1:;dir /all slavedisk1:;dir
/all slaveslot2:;dir /all slavedisk2:;dir /all slavesup-bootflash:;dir /all
sec-nvram:;dir /all sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir
/all sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all
sec-disk2:;show controllers;show controllers cbus;show diagbus;admin show
diag;show diag;show module;show spe version;show c7200;show inventory raw;show
vtp status;show vlan;show vlan-switch;show debug;show running-config;write
term" 10.0.0.1<br>
clogin: not found<br>
10.0.0.1: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp
chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir
/all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all
sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show
install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all
harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all
slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables
boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show
module,admin show env all,show controllers,admin show version,show diagbus,dir
/all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all
sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all
sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all
sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all
slaveslot1:,dir /all nvram:,show version,show vlan-switch,admin show variables
boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:<br>
10.0.0.1: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp
chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir
/all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all
sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show
install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all
harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all
slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables
boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show
module,admin show env all,show controllers,admin show version,show diagbus,dir
/all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all
sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all
sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all
sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir
/all slaveslot1:,dir /all nvram:,show version,show vlan-switch,admin show
variables boot,show redundancy secondary,show running-config,show c7200,dir
/all slot1:<br>
10.0.0.1: End of run not found<br>
10.0.0.1: End of run not found<br>
!<br>
raphael# <br>
<br>
<br>
Lance Vermilion wrote: <o:p></o:p></p>
<pre>Sean,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>clogin is purely the login script. You must run "rancid -d <host>" to<o:p></o:p></pre><pre>see what you are looking for.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>-Lance<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>On Mon, Nov 10, 2008 at 6:11 PM, Sean Murphy <a
href="mailto:smurphy@calarts.edu"><smurphy@calarts.edu></a> wrote:<o:p></o:p></pre><pre> <o:p></o:p></pre>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>I am trying to see the entire RANCID process from beginning to end first<o:p></o:p></pre><pre>with clogin and having it login run the config portion and finally logout.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I have tried /usr/local/libexec/rancid/clogin 10.0.0.1<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>This just shows the login portion. Is there a way to see everything?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Thanks.<o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Rancid-discuss mailing list<o:p></o:p></pre><pre><a
href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><o:p></o:p></pre><pre><a
href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre> <o:p></o:p></pre></blockquote>
<pre>_______________________________________________<o:p></o:p></pre><pre>Rancid-discuss mailing list<o:p></o:p></pre><pre><a
href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><o:p></o:p></pre><pre><a
href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><o:p></o:p></pre><pre> <o:p></o:p></pre></div>
</body>
</html>