<div dir="ltr">Hi all,<div> New user to RANCID 3.0 here, I can login to a Cisco WLC no issues with:</div><div><br></div><div><div> bin/clogin wlchostname</div></div><div> bin/wlogin wlchostname<br></div><div><br>
</div><div>I also have custom WLC scripts, that login to the WLC and backup the config and work fine,</div><div>which I obtained from here: <a href="http://www.shrubbery.net/pipermail/rancid-discuss/2010-February/004652.html">http://www.shrubbery.net/pipermail/rancid-discuss/2010-February/004652.html</a></div>
<div><br></div><div><br></div><div>Which I have placed in: /usr/local/rancid/bin and saved as ciscowlc5</div><div><br></div><div>/usr/local/rancid/bi<b>n/</b>ciscowlc5 wlchostname : logs in and saves the config no problems.<br>
</div><div><br></div><div>Now everywhere I read, to add a custom script / vendor device you need to add the new details in rancid-fe.</div><div><br></div><div> /usr/local/rancid/bin/rancid-fe now looks for Vendors in one of these files</div>
<div><br></div><div>/usr/local/rancid/etc/rancid.types.base<br></div><div>/usr/local/rancid/etc/rancid.types.conf<br></div><div><br></div><div><br></div><div>vim /usr/local/rancid/etc/rancid.types.base</div><div><br></div>
<div><div>ciscowlc;script;ciscowlc5</div></div><div><br></div><div>I now update my router.db</div><div><br></div><div>vim /usr/local/rancid/etc/router.db<br></div><div><br></div><div><div>wlchost:ciscowlc:up </div><div>
<br></div><div>I tail the logs and get these errors:</div><div><br></div><div><div><br></div><div>Unknown option: t</div><div>ciscowlc wlogin error: Error: Unknown host ciscowlc</div><div>ciscowlc: missed cmd(s): show sysinfo,show udi,show run-config commands</div>
<div>ciscowlc: End of run not found</div><div>!</div><div>Unknown option: t</div><div>ciscowlc wlogin error: Error: Unknown host ciscowlc</div><div>ciscowlc: missed cmd(s): show sysinfo,show udi,show run-config commands</div>
<div>ciscowlc: End of run not found</div></div><div><br></div><div>can someone please show me the light?</div><div><br></div><div>why does not use the working, /usr/local/rancid/bin/ciscowlc script?</div></div><div><br>
</div>
<div><br></div><div><br></div><div>Thanks for your time I seem confused can someone please check my steps for adding this script into rancid 3.0 to get it to backup the WLC also if I need to add other vendors in the future how to add them into RANCID 3.0?</div>
<div><br></div><div>Thanks for your time.</div><div><br></div><div><br></div><div><br></div></div>