NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
robinchristes
Sep 06, 2018Aspirant
SNMP-OID for the MAC of the connected Device
Hello Community,
i am working on a script, which is collecting data from the switches via SNMP.
My problem is, that i need to know the OID which can be used to find the MAC of a Client direct...
- Sep 12, 2018
I've found the solution:
if the request returns iso.3.6.1.2.1.17.7.1.2.2.1.2.1.0.34.100.189.60.156 = INTEGER: 7, the integer-value represents the port of the MAC-address and the last 6 numbers of the OID represent the MAC-address in decimal format, in this example it means that the MAC-address connected to port 7 is 00:22:64:BD:3C:9C.
Thank you for your help :-)
robinchristes
Sep 11, 2018Aspirant
the devices (mostly computers) are directly connected to the switch, for example in the image you can see the MAC of a Elitegroup Mainboard on g9
robinchristes
Sep 12, 2018Aspirant
I've found the solution:
if the request returns iso.3.6.1.2.1.17.7.1.2.2.1.2.1.0.34.100.189.60.156 = INTEGER: 7, the integer-value represents the port of the MAC-address and the last 6 numbers of the OID represent the MAC-address in decimal format, in this example it means that the MAC-address connected to port 7 is 00:22:64:BD:3C:9C.
Thank you for your help :-)
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!