Discussion:
[rancid] How do I add additional commands like "show cdp neighbours"
Lai Chen Kang
2008-07-25 02:25:44 UTC
Permalink
Which file should I modify and where?

I think its in rancid but not sure where.
Lai Chen Kang
2008-07-24 15:18:35 UTC
Permalink
Which file should I modify and where?

I think its in rancid but not sure where.
Lance Vermilion
2008-07-25 16:36:22 UTC
Permalink
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
Post by Lai Chen Kang
Which file should I modify and where?
I think its in rancid but not sure where.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...