08-29-2012 09:29 AM
hello
I am having some trouble to find out the correct oid to get the model number for a cisco WS-C3524-XL-EN, as show when you do a show version. i have noticed that this device does not have an entity mib. However if it is displayed in the show version, so it must be kept somewhere...
regards
Sérgio
Solved! Go to Solution.
08-30-2012 06:02 AM
This is a part of Cisco-Products-MIB. This module defines the object identifiers that are assigned to various hardware platforms, and hence are returned as values for sysObjectID.
Device will not respond to this OID and reply back its name in return.
In short, the way to ask name from device is to poll sysObjectID. The answer from the device cannot be answer again.
Usually, NMS systems are smart enough to corelate the CISCO-PRODUCTS-MIB and show you device type, else you will have to do it manually.
Also, you can try to wrtie a script which can corelate the reply from device and match CISCO-PRODUCTS-MIB to show device name.
-Thanks
Vinod
08-29-2012 10:39 AM
Have you tried doing a full snmpwalk and then searching the output for the string?
08-29-2012 11:29 AM
yes, i have done that but it does not show anywhere. weird
08-29-2012 11:46 AM
Usually model number in snmp terms is displayed using sysObjectID, from SNMPv2-MIB. Please check what is the result for that.
08-30-2012 05:55 AM
it returns
1.3.6.1.4.1.9.1.248
if i search for it on http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.1.248#oidContent
i get the correct answer. but the device does not return any answer for this specific id.
08-30-2012 06:02 AM
This is a part of Cisco-Products-MIB. This module defines the object identifiers that are assigned to various hardware platforms, and hence are returned as values for sysObjectID.
Device will not respond to this OID and reply back its name in return.
In short, the way to ask name from device is to poll sysObjectID. The answer from the device cannot be answer again.
Usually, NMS systems are smart enough to corelate the CISCO-PRODUCTS-MIB and show you device type, else you will have to do it manually.
Also, you can try to wrtie a script which can corelate the reply from device and match CISCO-PRODUCTS-MIB to show device name.
-Thanks
Vinod
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide