#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Posts
    68
    Rep Power
    3

    Smile Cdp neighbors discovery


    Is there anyone that may know how to discover cdp neighbors in the network from 2 seed devices using perl script??
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2012
    Location
    Paris area, France
    Posts
    840
    Rep Power
    496
    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.
  4. #3
  5. !~ /m$/
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    May 2004
    Location
    Reno, NV
    Posts
    4,264
    Rep Power
    1810
    I have no network to try it out on, but I'd start with the code here:

    SNMP/Info/CDP.pm

IMN logo majestic logo threadwatch logo seochat tools logo