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

Gavin Jones gavinj84 at gmail.com
Wed May 7 03:31:02 UTC 2014


Ok I am pretty sure I have broken my  /usr/local/rancid/etc/rancid.types.conf
will get back to you guys soon.


On Wed, May 7, 2014 at 12:46 PM, Gavin Jones <gavinj84 at gmail.com> wrote:

> Hi heasley, thanks for you reply I made the changes by using the
> semi-colons in the the router.db and used
> /usr/local/rancid/etc/rancid.types.conf, however I still have no success.
>
>  Here are my exact steps:
>
> /usr/local/rancid/bin/ciscowlc5 wlchostname : logs in and saves the config
> fine.
>
> Removed the entry ciscowlc;script;ciscowlc5 from
> /usr/local/rancid/etc/rancid.types.base
>
> Added it in: /usr/local/rancid/etc/rancid.types.conf
> ciscowlc;script;ciscowlc5
>
> Changed to semi-colons:
>
> vim /usr/local/rancid/var/networking/router.db
> wlchost;ciscowlc;up
>
> rancid-run
>
> tail -f var/logs/networking.20140507.10330
>
> Trying to get all of the configs.
> 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
>
> Thanks for your time and patience.
>
>
> On Wed, May 7, 2014 at 12:49 AM, heasley <heas at shrubbery.net> wrote:
>
>> Tue, May 06, 2014 at 06:35:02PM +1000, Gavin Jones:
>> > 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
>>
>> you should put this in rancid.types.conf - YOUR localized config file.
>> rancid.types.base will be overwritten by installation of new versions of
>> rancid, as indicated at the top of rancid.types.base.
>>
>> > ciscowlc;script;ciscowlc5
>> >
>> > I now update my router.db
>> >
>> > vim /usr/local/rancid/etc/router.db
>> >
>> > wlchost:ciscowlc:up
>>
>> ;'s, not :'s, are the field separator beginning with rancid 3.0.
>>
>> > 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.
>>
>> > _______________________________________________
>> > Rancid-discuss mailing list
>> > Rancid-discuss at shrubbery.net
>> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140507/bf0e175a/attachment.html>


More information about the Rancid-discuss mailing list