title: How to get MAC or IP Addresses of devices connected to a switch using SNMP?
body: <p>Using SNMP, how do I get the MAC address of the device connected to each port on the switch?  We're using HP ProCurve Switches.</p>
  
  <p>I tried using the OID dot1dTpFdbPort but that seems to be giving me the MAC address of every device that's in communication with the switch, not just connected to it.</p>
  
  <p>I'm trying to find the OID that will give me ports 1-48 in a list, and for each port, the MAC (or IP address) of the device connected to that port.</p>
  
  <p>Thanks!</p>