<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Sorry I didn't clarify the user. This is a test box, I am using the
root account as the rancid user and the .cloginrc is located in root's
home directory.<br>
<br>
<br>
Mike Ashcraft wrote:
<blockquote
cite="mid:45EB285310B55542A513F93230F0A533082541F7@EXCHANGE0.orm.omniture.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<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]-->
<div class="Section1">
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Sean,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">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: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Mike<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:rancid-discuss-bounces@shrubbery.net">rancid-discuss-bounces@shrubbery.net</a>
[<a class="moz-txt-link-freetext" href="mailto:rancid-discuss-bounces@shrubbery.net">mailto:rancid-discuss-bounces@shrubbery.net</a>] <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> <a class="moz-txt-link-abbreviated" href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><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
moz-do-not-send="true" 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: 5pt; margin-bottom: 5pt;">
<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 moz-do-not-send="true"
href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
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>
</blockquote>
</body>
</html>