Map your Cisco Catalyst switchports with Switch Miner. Switch Miner is a lightweight command line tool for Windows that queries Cisco switches using SNMP to discover the devices that are connected to the switchports.
Switch Miner creates a csv file that can be imported directly in to excel or into any any other database. This tool is designed for Cisco networks but will gather information from other vendor switches also.
With Switch Miner you can find,
- Interface Info
- Speed and Duplex (Operational/Admin)
- MAC Addresses
- OUI Manufacturer
- VLAN Info (Name/Number)
- IP Addresses
- DNS/NBT Computer Names
- User Info
- Domain Info
- CDP Neighbor Info
- Interface Errors (Collisons, Aborts, CRC, Frame, Ignored, Overruns)
Usage is fairly straight forward.
Syntax:
The syntax is as follows:
c:\> sm -s [switchagent] -c [Switch SNMP community] -r [Routeragent] -e [Router SNMP Community]
Where,
Switchagent is the Switch to be polled
Routeragent is the Router for this switch
Other optional arguements are,
v [1 or 2] – SNMP version [Default is version 2]
-x [retries] – Times to retry [Default 3], if you have a slow or congested network you may raise this
-t [timeout] – Time to wait before timeout occurs, if you have a slow or congested network you may raise this [Default 6s]
-m [max_repetitions] – Maximum repetitions for getbulk SNMP V2 only [Default 40] This is the number of records to be returned on 1 call
-n Don't consolidate CDP Neighbor switch ports. Default for ports that contain CDP neighbors the MAC addresses is not shown. If you want to see all the MAC's for all ports turn this on.
-l walk CDP neighbors. If a CDP neighbor exist on a port and it's a switch this option will scan it also.
-p perform ping sweep before switch walk for more accurate results
-f [filename] – read switch list from file
-d turn debug on
-h print this message
For more information and download, please click here.
1 Comment