Switch Port Discovery Using Switch Miner

Learn about a free tool for finding out what devices are connected to the ports of a switch.

Tony Fortunato

February 2, 2018

2 Min Read
NetworkComputing logo in a gray background | NetworkComputing

One of the most critical and time-consuming tasks network technicians perform is determining what port a host is connected to; having to perform this work remotely makes it even more challenging.

I’ve worked with many applications that perform a switch port inventory. Some are too expensive, and many are included as part of an overall network management application. Buying an entire platform for one application makes no sense. Moreover, some of the hardware requirements are onerous.

So I was pleasantly surprised when I came across a switch port discovery tool for Windows called Switch Miner on Sourceforge.net. Switch Miner primarily uses SNMP for discovery, but can also use ping depending on which options you choose. Two versions of Switch Miner are available: Switch Miner GUI, which performs an inventory with a GUI interface, and Switch Miner Console, which uses the command line. In the video below I demonstrate the tool and run through some of its features.

Switch Miner is fast, reliable, and runs just fine on any of my Windows systems. For example, I ran a port inventory in 10 seconds on my Cisco 3750 switch using the Switch Miner GUI tool. When I added my router, a ping sweep and the consolidate option, discovery took just two minutes, with the ping sweep taking the longest using default settings.

The Switch Miner GUI tool has a very simple interface with no annoying ads. It displays port descriptions, speeds, duplex, VLAN, what MAC address is on that port with the manufacture's (OUI) identifier, as well as common error counters. Just remember that access point and trunk ports will have more than one address device associated with them.

null

switchminer-1.png

 

Switch Miner Console captures the same information as the GUI version and creates an Excel spreadsheet with the results.

null

switchminer-2.png

null

switchminer-3.png

 

A port inventory is essential for all areas of networking: design, implementation, and support. When working on replacing network equipment, it's imperative to get an accurate inventory of port connections. In some cases, you can disconnect empty ports or order equipment with more ports if you are running low. In other situations you might want to move some connections around so port mapping is helpful.

During implementation, I like to have a print out of what is connected. A print out is important since the server and network may not be available during your installation. And for support, having the correct port number is critical when port mirroring or using a tap.

About the Author

Tony Fortunato

Sr Network Performance Specialist

Tony Fortunato is a network performance expert who has been designing, implementing and troubleshooting networks since 1989. His company, The Technology Firm, provides clients of all sizes with services ranging from project management, network design, consulting, troubleshooting, designing custom-designed training courses, and assisting with equipment installation. Tony's experience in networking started with financial trading floor networks and ISPs, where he learned to integrate and support equipment from various vendors. Tony has taught and presented at numerous colleges and universities, public forums and private classes. He blogs frequently at NetworkDataPediaand has a popular YouTube channel.

SUBSCRIBE TO OUR NEWSLETTER
Stay informed! Sign up to get expert advice and insight delivered direct to your inbox

You May Also Like


More Insights