[rancid] Adding IOS Commands to Rancid 3.1

heasley heas at shrubbery.net
Wed Apr 8 22:36:08 UTC 2015


Wed, Apr 08, 2015 at 04:18:27PM -0400, Chip Pleasants:
> I couldn't find anything that discussed this in detail, so I'm hoping
> someone could give me a little direction. I'm trying to add a new command
> in rancid 3.1 for IOS devices and its not issuing the command i'm trying to
> add when running rancid. it doesn't seem its looking at the
> rancid.types.conf file when running.  I've modified the
> /etc/rancid/rancid.types.conf and the /usr/share/perl5/vendor_perl/rancid/
> ios.pm. I've added my additions right about the "chow version" statement in
> both files. Below are my the additions to each file and some debug out when
> I run rancid. Thanks in advance for taking the time to assist and let me
> know if I can provide any more information.

You should copy the cisco definition from rancid.types.base to
rancid.types.conf and give it a new name.

rancid looks in the base file first, and new installations will overwrite
that file.


More information about the Rancid-discuss mailing list