|
--- Home --- |
Cisco Network Discovery ToolThe scripts you will find on this site are written in Perl and will aid in the network management of Cisco infrastructures. There are three tools available at this time: discovery.plThe discovery.pl script will poll a seed device (router or switch) with a SNMP query asking for its CDP neighbor table and its route table. Because the script queries the route table, it is able to discover beyond CDP borders. It then goes through the list of neighbor devices polling them for their neighbors and so on. Once it has a complete inventory it begins to gather information about each device (Device type, IOS version, Serial number). The output format can be either csv, or formated to import into a Kiwi CatTools database, or Cisco Resource Manager Essentials, or Cisco MARS. tftpget.plThis script can be used to gather running configurations of Cisco equipment after the discovery script has completed and csv output was selected. Fire up your favorite tftp server (mine is tftpd32) and run tftpget.pl. It will ask for the csv file to work with and the tftp server to use, and off it goes. macget.plThis script will ask for a router (or layer 3 device) and a switch (layer 2 device) and an snmp community. With this info it will query ARP and CAM tables and will build a list of all devices plugged into the switch. From there it will do a DNS lookup and will output a csv file with the MAC address, IP address, hostname, switchport, and VLAN of each device plugged into the switch. |
|---|