Menu ▾ ▴

Switch Miner / News: Recent posts

Version 5.30 is released!

New

  • Compare two scans. The console saves a scan as one JSON file (--json FILE) and compares a new
    scan with an earlier one (--compare FILE): new and missing devices, endpoints (MAC addresses)
    that are new, gone or moved to another port or switch, and ports whose values changed. The
    report is printed at the end and the xlsx file gets a Changes sheet. Error counters and Last
    Change are not compared, nor are endpoint names (DNS answers can vary). Exit code 4 means differences were found, so a script can act on it.
  • Scan history. --history DIR keeps every scan as a dated JSON file in a folder, and
    --compare-last compares with the newest one there (run it daily from a scheduler).
    --compare-only-scanned leaves out devices that were not part of this scan, for a rescan of
    one switch.
  • GUI: File > Compare with Earlier Scan compares the open scan with a saved snapshot and lists
    the differences. Options > Scan history (off by default) keeps a copy of each saved scan in a
    History folder beside the saved file, named after the device or the saved file. After a
    compare, saving an xlsx adds a Changes sheet.
  • SNMPv3 authentication with SHA-224, SHA-256, SHA-384 and SHA-512, for devices that no longer
    allow MD5 or SHA-1 (console -a, and the GUI profile dialog).
  • Extra sheets in the xlsx file, chosen in the Options dialog (console: --reports LIST):
    Inventory (on by default), Unused Ports (down ports unchanged for N days, default 90,
    --unused-days), Port Hygiene, Link Mismatch (speed, duplex, trunk or allowed VLANs that differ
    at the two ends of a CDP/LLDP link), Links and Duplicate MACs.
  • Native VLAN and the neighbor's port are collected (Cisco VTP and CDP, LLDP and the standard
    bridge MIB on other vendors) and used by the Links and Link Mismatch sheets.
  • Topology diagram of the links between the switches: draw.io (.drawio, Cisco icons, access
    points ringed around their switch) or Graphviz (.dot, .gv). Choose it in Save As or the Options
    dialog, or use --topology FILE on the console. Neighbors that were not scanned are drawn dashed;
    --topology-hide leaves out access points, phones or other devices.
  • Custom ping sweep ranges: besides the router's own subnets, sweep only the blocks you list
    (for example a few /24s inside a router's /16). The Ping Sweep checkbox now has a mode list
    (Router, Router + custom, Custom) and a Ranges button. Console: --ping-range and --ping-file.
    Ranges outside the subnets of a scanned router are skipped and reported at the end of the scan.
  • GUI: a second row of quick filters (Down ports, Flagged ports, Ports with no devices), column
    presets (Ports, Endpoints, Errors), a column picker on the header right-click menu, "One row
    per port", and Excel-style colors in the grid.
  • Port Flag limit setting (Options, console --flag-macs N, 0 turns it off).
  • The Type column on non-Cisco switches shows the vendor and model, detected from the device.... read more
Posted by Billy Yawn 2 days ago

Version 5.10 is released!

New

  • Arista switches are supported: ports, speed, VLANs, MAC addresses, LLDP neighbors and counters.
  • Other vendors that follow the standard SNMP bridge MIBs are scanned with the standard data
    only (not yet tested on real hardware). The vendor is detected automatically.
  • Inventory sheet: the last sheet of every xlsx lists each device (each stack member) with model,
    serial number, software version and uptime.
  • Port Flag column: an access port with more than 3 MAC addresses (a switch or hub?) is flagged.
  • Excel report: frozen header row, filters, red for err-disabled ports, amber for STP blocking,
    high error counters and flagged ports.
  • STP state is shown on port channel members too, so blocked uplinks are visible.
  • OUI download: sm -o (console) and the GUI download the current MAC vendor
    list from wireshark.org into the program folder. Certificates are checked, TLS 1.2 or newer.
  • The CDP/LLDP "Found" and "Skipping" log lines appear once per scan instead of once per switch.... read more
Posted by Billy Yawn 2026-11-08

Version 5.00 is released!

Version 5.00 is one code base with three programs:

  • smgui.exe, the Windows GUI (saved SNMP profiles, one tab per switch, save as xlsx, CSV or text)
  • sm.exe, the Windows command line
  • sm, the Linux command line, a single portable binary with nothing to install. It runs on any x86_64 distribution with glibc 2.28 or newer (RHEL, Rocky and Alma 8 and later, Ubuntu 20.04 and later, Debian 10 and later, Fedora, openSUSE and others)... read more
Posted by Billy Yawn 2026-10-30

Switch Miner 4.21 Released

  • Fixed bug with certain model switches running versions of IOS that do not respond correctly to OIDs they dont have.
  • Fixed bug that causes app to crash.
Posted by Billy Yawn 2020-08-25

Switch Miner W32 Console 3.30 Released


                    New in Version v3.30

Support for SNMP V3
Various bug fixes
Removed config file requirement, everything is done on the command line now.

Posted by Billy Yawn 2020-02-20

Switch Miner 4.20 Released

Added a device info sidebar
Fixed a discovery bug

Posted by Billy Yawn 2020-02-10

Switch Miner 4.10 Released

Added support for SNMP Version 3.

Switch Miner supports the USM SNMP V3 model. If you are using SNMP V3 make sure you have a group configured on you switch that has an auth contect vlan- match prefix statement.
This allows polling of each of the VLANs on a switch to get MAC addresses. Without this you will get very few MAC addresses.

SNMP Profiles

Added SNMP profiles, these can be accessed from the SNMP Profiles box on the toolbar by clicking the down arrow then clicking edit profiles or by going to view->Options->Profiles.... read more

Posted by Billy Yawn 2020-01-30

Switch Miner GUI 4.0 Released!

A Win32 GUI version of switch miner.

Posted by Billy Yawn 2017-01-18

Switch Miner Version 3.10 Released!

You can now specify only a switch if you have no router.
Added capabilities to search for a mac address only by using the --search option.
You can now have multiple routers either on the command line or in a text file if
you have multiple L3 gateways for a switch.

Posted by Billy Yawn 2015-02-01

Switch Miner Version 3.05 Released!


                    New in Version 3.05

Completely re written from the ground up, now multi threaded. It can scan multiple
switches in a fraction of the time of the old versions. Has support to do WMI scans
of endpoints to collect more information. See the sample sm.conf file.Please report
issues or feature request in to the sourceforge ticketing system.

Posted by Billy Yawn 2015-01-01

Switch Miner Version 2.75 Released!

--------------------------------------------------
New Options in Version 2.75
--------------------------------------------------
Added -o option to specify an output filename. If you do not specify a output file name the program will use the switch name.

The following issues have been addressed in this release.
- Fixed SNMP timeouts cause the program to exit.
- Fixed newer switches were timing out with default VLANS 1002-1005.
- Fixed issue with blank return values
- Fixed some netbios names being skipped

Posted by Billy Yawn 2008-03-23

Switch Miner Version 2.51 Released!

--------------------------------------------------
New Options in Version 2.51
--------------------------------------------------
The program now exports the files in .xls format. If you still want an output file in .csv format you must use the -y option. If you use the -l option the .xls file will contain multiple tabs with each of the switches discovered. You do not need to have excel installed on the machine running Switch Miner. It writes out the file
in Biff5 file format which is Excel 95 and up.

Posted by Billy Yawn 2007-11-17

Switch Miner Version 2.50 Released

-----------------------------------------------------------------------------------
New Options in Version 2.50
-----------------------------------------------------------------------------------
The -p option will perform a ping sweep before the switch walk. It pulls the subnet
information from the router specified on the command line and performs a ping sweep
of the entire subnet. This will cause the end results to be more accurate in some
instances. If you have large subnets /16's or /8's you may not want to use this option
as it will ping every address.... read more

Posted by Billy Yawn 2007-10-17

Switch Miner Version 2.10 Released

Switch Miner Version 2.10 Released, new features to walk the CDP neighbors found and read switch info from a file.

Posted by Billy Yawn 2007-05-12

Switch Miner Version 2.00 Released

Switch Miner Version 2 Released!

Posted by Billy Yawn 2007-05-04

Switch Miner Console Version 1.10 Released

Switch Miner Console Version 1.10 Released

Posted by Billy Yawn 2005-07-05

Switch Miner Console Win32 Released

This is a beta version that runs from a Win2000 or higher command line.

Posted by Billy Yawn 2005-06-21