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

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Switch Miner

Switch Miner Web Site

Other Useful Business Software
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
★
4
1
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • 4 out of 5 stars
    Muchas gracias
  • 5 out of 5 stars
    I 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 stars
    Works great, helped me debug a switch.
  • 5 out of 5 stars
    This 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 stars
    Best 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!
Read more reviews >

Additional Project Details

Operating Systems

Linux, Windows

Languages

English

Intended Audience

Information Technology, Security Professionals, System Administrators, Telecommunications Industry

User Interface

Command-line, Win32 (MS Windows)

Programming Language

C, C++

Related Categories

C++ Systems Administration Software, C++ Network Monitoring Software, C Systems Administration Software, C Network Monitoring Software

Registered

2005-06-01