[rancid] Re: How do I add additional commands like "show cdp neighbours"

Lance Vermilion rancid at gheek.net
Fri Jul 25 16:36:22 UTC 2008


Lai,

It is normally found in the files called rancid. The login files are the
expect piece.

Look for # Main
@commandtable = (

that will be where the commands are kept. If you want to do something
special with the output you will need to create your own parsing using a new
sub. you can also use another sub that already exists...although no the best
practice.

-Lance

On Thu, Jul 24, 2008 at 7:25 PM, Lai Chen Kang <laichenkang at gmail.com>wrote:

> Which file should I modify and where?
>
> I think its in rancid but not sure where.
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080725/bd1844f0/attachment.html 


More information about the Rancid-discuss mailing list