Is there a way to detect which port on an ethernet switch a device is connected to?

Posted by banno on Server Fault See other posts from Server Fault or by banno
Published on 2010-05-26T12:44:46Z Indexed on 2010/05/26 13:03 UTC
Read the original article Hit count: 163

Filed under:
|
|

Since the wall jack is typically always connected to the same port on the switch I would like to be able to know which device is connected at a specific location. In my case I am talking about printers. I have code to go out on the network and find the IP Address of all of my printers, but would like to be able to update a server based on a printer being swapped out of a location for maintenance or repair. Is there a method for determining a port connection?

© Server Fault or respective owner

Related posts about c++

Related posts about networking