<div dir="ltr"><div>Thank you very much for assisting. Was I right in modifying the <a href="http://ios.pm">ios.pm</a>? By definition do you mean something like below? I'm assuming if I wanted to use this definition I'd have to change devices in router.db that I wanted to run this command on? If it does work this way I suppose I'll want to add all the other commands normally baked in the cisco definition? <br></div><div> <div><br></div><div><div># Custom Commands for Cisco IOS devices</div><div>cisco-custom;script;rancid -t cisco</div><div>cisco-custom;login;clogin</div><div>cisco-custom;module;ios</div><div>cisco-custom;inloop;ios::inloop</div></div><div>cisco-custom;command;ios::ShowArchiveConfigDiff;show archive config diff<br></div></div><div><br></div><div><br></div><div>-Chip</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 8, 2015 at 6:36 PM, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Wed, Apr 08, 2015 at 04:18:27PM -0400, Chip Pleasants:<br>
<span class="">> I couldn't find anything that discussed this in detail, so I'm hoping<br>
> someone could give me a little direction. I'm trying to add a new command<br>
> in rancid 3.1 for IOS devices and its not issuing the command i'm trying to<br>
> add when running rancid. it doesn't seem its looking at the<br>
> rancid.types.conf file when running. I've modified the<br>
> /etc/rancid/rancid.types.conf and the /usr/share/perl5/vendor_perl/rancid/<br>
> <a href="http://ios.pm" target="_blank">ios.pm</a>. I've added my additions right about the "chow version" statement in<br>
> both files. Below are my the additions to each file and some debug out when<br>
> I run rancid. Thanks in advance for taking the time to assist and let me<br>
> know if I can provide any more information.<br>
<br>
</span>You should copy the cisco definition from rancid.types.base to<br>
rancid.types.conf and give it a new name.<br>
<br>
rancid looks in the base file first, and new installations will overwrite<br>
that file.<br>
</blockquote></div><br></div>