[rancid] Cisco WLC: Rancid 3.0 add other vendor devices???

Gavin Jones gavinj84 at gmail.com
Tue May 6 08:35:02 UTC 2014


Hi all,
           New user to RANCID 3.0 here, I can login to a Cisco WLC no
issues with:

 bin/clogin wlchostname
 bin/wlogin wlchostname

I also have custom WLC scripts, that login to the WLC and backup the config
and work fine,
which I obtained from here:
http://www.shrubbery.net/pipermail/rancid-discuss/2010-February/004652.html


Which I have placed in: /usr/local/rancid/bin and saved as ciscowlc5

/usr/local/rancid/bi*n/*ciscowlc5 wlchostname : logs in and saves the
config no problems.

Now everywhere I read, to add a custom script / vendor device you need to
add the new details in rancid-fe.

 /usr/local/rancid/bin/rancid-fe now looks for Vendors in one of these files

/usr/local/rancid/etc/rancid.types.base
/usr/local/rancid/etc/rancid.types.conf


vim /usr/local/rancid/etc/rancid.types.base

ciscowlc;script;ciscowlc5

I now update my router.db

vim /usr/local/rancid/etc/router.db

wlchost:ciscowlc:up

I tail the logs and get these errors:


Unknown option: t
ciscowlc wlogin error: Error: Unknown host ciscowlc
ciscowlc: missed cmd(s): show sysinfo,show udi,show run-config commands
ciscowlc: End of run not found
!
Unknown option: t
ciscowlc wlogin error: Error: Unknown host ciscowlc
ciscowlc: missed cmd(s): show sysinfo,show udi,show run-config commands
ciscowlc: End of run not found

can someone please show me the light?

why does not use the working,  /usr/local/rancid/bin/ciscowlc script?



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?

Thanks for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140506/41d795d3/attachment.html>


More information about the Rancid-discuss mailing list