<font><font face="courier new,monospace">Dear All,<br><br>Thanks for you time to maintain such a amazing tool rancid.<br><br>I am trying to add two more command in rancid(bin/rancid) script to pull information in Cisco routers. <br>
<br>I found cisco router is points to rancid(bin/rancid) script:<br><br>%vendortable = (<br> <br> 'cisco' => 'rancid',<br><br>)<br><br>I want to add the below two commands in rancid script : <br>
1). show cdp interface<br>2). show cdp neighbors<br><br>Here I have added the method to pull the output of the above commands <br>@commandtable = (<br> {'show cdp interface' => 'ShowCdpInterface'},<br>
{'show cdp neighbors' => 'ShowCdpNeighbors'},<br> )<br><br>sub </font></font><font><font face="courier new,monospace">ShowCdpInterface {<br><br>}<br><br><br>sub </font></font><font><font face="courier new,monospace">ShowCdpNeighbors {<br>
<br><br>}<br></font></font><font><font face="courier new,monospace"><br></font></font><font><font face="courier new,monospace">I need some pointer/guide to write the above two method. I am Intermediate level Perl guy. I am able to fine tune if some one have already written the script.<br>
<br>I will greatly appreciate any help on this.<br><br><br>Thanks<br>Mohan L <br></font></font>