So, I've been using some port mapping software and running into a problem. We have many switches spread across the network, when I do a network scan it shows the device that is physically connected to a port, and in the case of a switch, all the devices that are connected to that switch and potentially all the devices that are connected to a port on that switch which is a switch and so on ad infinitum. What I'd like to do is figure out a way to determine exactly what is physically connected to each port. I don't need to know all the devices downstream - just that this physical device is connected to this port...and then if that device happens to be a switch, what devices are physically connected to that switch and so on. Any ideas?
Hopefully your network is as such:
If all your switches support, say, CDP and you can install CDP daemons on all/most of the other devices, you're in luck! Job's mostly done.
You can (theoretically) do this with InterMapper's Layer 2 module, but I've never tried it myself and can't speak for how well it works.
Sneakers and cable testers (The Testifier Pro will blink the link light) are probably your best bet.
They key to this is going to be checking the CAM table on each switch. This table holds the mappings on which MAC addresses it has seen recently on each physical interface.
Details on showing the CAM table obviously differ depending on switch manufacturer, software rev, etc.
For some switches you could obtain this information easily through SNMP. For others there is now way at all. Of course there are some where it's possible but really difficult.
The tool I like to use for this kind of things is Fluke Network Inspector. It's somewhat dated but you should still be able to find it with a bit of searching. I doubt that you can still buy a license key but for a one-off shot at collecting and maping this information the trial version should suffice.
I don't think there is any way to do this; unless you have some software that can run on the devices and map the MAC addresses to the devices somehow, there's no way to know what a particular device actually is let alone where on the segment the device is physically connected. (That is of course outside of actually tracing the wires manually, which I assume is not what you mean)