October 3rd, 2013, 09:41 AM
Cdp neighbors discovery
Is there anyone that may know how to discover cdp neighbors in the network from 2 seed devices using perl script??
October 4th, 2013, 05:40 PM
I do not know what CDP neighbors are and can't answer your questions on that.
For some reason, your other message posted today (http://forums.devshed.com/perl-programming-6/foreach-command-952610.html) is closed. I can just tell you that your code is never opening nor reading your file, because the code for doing that is stored in a subroutine (the open function) that is never called from the main part of your program. Hope this helps.
Last edited by Laurent_R; October 4th, 2013 at 05:42 PM.
October 5th, 2013, 11:05 AM
I have no network to try it out on, but I'd start with the code here: