Switch Miner (SwitchMiner) is a free, open source tool that finds every device on every port of your network switches. It scans over SNMP and builds a report of every port: interface status, speed and duplex, VLANs and trunks, error counters, spanning tree state, and the MAC addresses learned on each port, with vendor names from the IEEE OUI list. When you give it a router, it adds the IP addresses, DNS names and NetBIOS names of the connected devices. The result is an Excel workbook (one sheet per switch) or a delimited text/CSV file.
It is built and tested on Cisco and Arista switches. Other vendors that support the standard SNMP MIBs (such as the bridge, interface and LLDP MIBs) should also work, though they have not been tested on real hardware.
Runs as a Windows GUI, a Windows command-line program and a portable Linux command-line program.
License: GNU General Public License v3 (see COPYING and THIRD-PARTY-NOTICES.txt). By Billy Yawn.
Features
- SNMP v1, v2c and v3 (MD5/SHA authentication; DES, AES-128, AES-192 and AES-256 privacy)
- Layer 3 information through one or more routers
- Discovers neighbor switches through CDP and LLDP with --exclude patterns to skip devices
- Scan many switches from a file, with a configurable number of threads
- Ping sweep before the scan, uplink port consolidation
- --search option to find which switch port a MAC address is on
- Windows GUI, Windows console and Linux console from one code base
License
GNU General Public License version 3.0 (GPLv3)Follow Switch Miner
User Reviews
-
4 out of 5 starsMuchas gracias
-
5 out of 5 starsI really like this project. I just wish that I could tell it which IP ranges to sweep. Every time I use the program, I have to wait many hours because it sweeps the 16 bit subnet in the router. I only need to sweep a couple 24 but subnets within the 16 bit subnet.
-
5 out of 5 starsWorks great, helped me debug a switch.
-
5 out of 5 starsThis program works - and fast. Install is VERY easy as all you have to do is edit your sm.config file on notepad ++ with the appropriate info (snmp etc), and you are good to go. Will be donating as soon as I get a few extra bucks. Still - this is great for Cisco shops who need access-layer visibility. The only thing I would change/add is to specify static/dynamic entry, and the option of coloring out down ports. I know, I am picky. WILL NOT decompile using VS 2012 as noted in the readme file - or else I would have made the above changes myself. Still, phenomenal job, and well worth it!
-
5 out of 5 starsBest Cisco switch port mapping program out there! THIS ONE WORKS - been fighting with the commercial packages for weeks - they would not map all the vlans, skip ports, not resolve names. Switch Miner mapped out our CatOs 6509 100% in the first pass, plus built the xls file as well (no more csv imports!) Thanks and a Tip of the Hat, You knocked the ball wayyyyy out of the park, it's still flying!