<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; ">
<div style="font-family: Calibri, sans-serif; ">Hi all, I'm looking for a working f5rancid script for the following:</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">We have a mix of f5 devices that are running either 10.1/10.2(bigpipe) or 11.4 (tmsh). Our configured "rancid" user is logging in via TACACS and is dropped into the advanced shell. Using the original f5rancid
script, of course there's no tmsh commands, so it fails for the 11.4 devices. So I downloaded the latest f5rancid script from the github repo here: <a href="https://github.com/dotwaffle/rancid-git/blob/master/bin/f5rancid.in">https://github.com/dotwaffle/rancid-git/blob/master/bin/f5rancid.in</a>,
which has tmsh commands in it, but it doesn't work as I think it should and brings up more questions.</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">When I run the f5rancid script manually I see that it doesn't look like it's choosing the tmsh commands. Is there something I am missing to tell it to use tmsh? I would think it can grok that from the command
prompt, but I'm not sure of the logic. I tried looking at the f5rancid script and I see where it's supposed to make the choice, but my perl skills suck.</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div>
<div><font face="Courier">[rancid@sfo-admin007 bin]$ ./f5rancid -d mtv-lb001</font></div>
<div><font face="Courier">executing clogin -t 90 -c "bigpipe version 2>&1" mtv-lb001</font></div>
<div><font face="Courier">executing clogin -t 90 -c "bigpipe version;bigpipe platform;cat /config/bigip.license;bigpipe monitor list all;bigpipe profile list;bigpipe base list;bigpipe db show;bigpipe route static show;bigpipe list" mtv-lb001</font></div>
<div><font face="Courier">sh: clogin: command not found</font></div>
<div><font face="Courier">mtv-lb001: missed cmd(s): bigpipe route static show,bigpipe base list,cat /config/bigip.license,bigpipe platform,bigpipe db show,bigpipe monitor list all,bigpipe version,bigpipe profile list,bigpipe list</font></div>
<div><font face="Courier">mtv-lb001: missed cmd(s): bigpipe route static show,bigpipe base list,cat /config/bigip.license,bigpipe platform,bigpipe db show,bigpipe monitor list all,bigpipe version,bigpipe profile list,bigpipe list</font></div>
<div><font face="Courier">mtv-lb001: End of run not found</font></div>
<div><font face="Courier">mtv-lb001: End of run not found</font></div>
<div><font face="Courier">#</font></div>
<div><font face="Courier">[rancid@sfo-admin007 bin]$ </font></div>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">Clogin shows that it is able to login and lands in the advanced shell:</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">
<div>[rancid@sfo-admin007 root]$ /usr/local/rancid/bin/clogin mtv-lb001</div>
<div>mtv-lb001</div>
<div>spawn ssh -c 3des -x -l rancid mtv-lb001</div>
<div>Password: </div>
<div>Last login: Wed Mar 26 13:58:46 2014 from 10.102.128.27</div>
<div>[rancid@mtv-lb001:Active:Standalone] ~ # </div>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">Anyone got a working f5 script and brief README they can share with me? </div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">Thanks, Matt</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">
<div>
<div>
<div><b>-- </b></div>
<div><b>Matt Almgren </b>| Sr. Network Engineer</div>
<div><span style="font-size: 11.5pt; ">779 Evelyn Ave, Suite 200</span></div>
<div><span style="font-size: 11.5pt; ">Mountain View, CA 94041</span></div>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; ">Mobile: 408.499.9669</p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; "><img src="cid:1CFB777E-88E3-4BCE-BCDD-3AB882F248DB" type="image/png"></p>
</div>
</div>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="2">This message is being sent by Skyfire Labs. It is intended exclusively for the individuals and entities to which it is addressed. This communication, including any attachments, may contain information that is proprietary,
privileged, confidential, or otherwise subject to restrictions on disclosure pursuant to applicable law. If you are not the named addressee, you are not authorized to read, print, retain copy or disseminate this message or any part of it. If you have received
this message in error, please notify the sender immediately by email and delete all copies of this message. This message is protected by applicable legal privileges and is confidential.<br>
</font>
</body>
</html>