The following is required in order to use Switchprobe on a computer that does not have IntraVUE installed.
Start switchprobe by simply launching the file from your file explorer, like any other program.
An application will appear that has 2 edit boxes and a SCAN button. Enter the IP address in the IP box. If the SNMP read only community is not 'public', edit the SNMP Community box. Select Scan.
If the device does not respond you will see text in the main text area similar to what is shown below. Switchprobe makes one initial request for the name of the device according to its SNMP. If the device does not respond within about 5 seconds, switchprobe times out with the messages below.
If the device responds to name, a series of queries will be made. If it is a simple device you will get location, description, and information about its IP address(es) and interfaces will be returned.
If it is a switch or router, a large number of lines will be returned describing the data used by IntraVUE. If it is a switch, the end of the report will show sets of lines telling the port numbers for mac addresses. You must see AT LEAST this much data if a device is to be considered a switch.
The data in the larger red rectangle above tells you that MAC address 64f9830004ed is on port 11.
If you want to save this data for future use, you must copy it and then paste it into a notepad. Use Control-A to select all the text, then Control-C to copy it to the clipboard. Then open a new text file. Use Conrol-V to paste the text into the new file and Control-X to Save and Close the file. See the next section for a simple way to save data to a text file.
The first command will result in the output going to the DOS screen.
java -cp switchprobe.jar miblist public 10.1.1.1
The next command adds a file redirection symbol and a filename. You won't see anything in the command window and all the text will be in the file you named.
java -cp switchprobe.jar miblist public 10.1.1.1 > 1.txt