snmpnet-snmp

SNMP OID for getting manufacturer serial number with SNMP version 1


I'm unable to get the manufacturer serial number when I do an SNMP get on an OID .2.47.1.1.1.1.11.1.0. If I do an snmpget with the below command on the OID with the command:

snmpget -v1 -c public 192.168.4.99 .2.47.1.1.1.1.11.1.0

I get the message:

Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: joint-iso-ccitt.47.1.1.1.1.11.1.0

I did search on google for the possible cause of error by going to this SO thread as it is caused by missing the instance subidentifier.

I performed an SNMPtranslate for the OID and I got the below string joint-iso-ccitt.47.1.1.1.1.11.1.0.

And when I performed an snmpwalk on the OID by the below command i get the message as END OF MIB.

snmpwalk -v1 -c public 192.168.4.1 .2.47.1.1.1.1.11.1.0

Please let me know where I'm going wrong and let me know the exact generic OID to get the manufacturers serial number.


Solution

  • Who tells you the OID is .2.47.1.1.1.1.11.1.0?

    Seriously speaking, a normal OID starts with .1, except .0.0 which is very special.