Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

model number oid

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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

model number oid

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

-Thanks Vinod **Rating Encourages contributors, and its really free. **
5 REPLIES
Hall of Fame Super Silver

model number oid

Have you tried doing a full snmpwalk and then searching the output for the string?

New Member

model number oid

yes, i have done that but it does not show anywhere. weird

Cisco Employee

model number oid

Usually model number in snmp terms is displayed using sysObjectID, from SNMPv2-MIB. Please check what is the result for that.

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

model number oid

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.

Cisco Employee

model number oid

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

-Thanks Vinod **Rating Encourages contributors, and its really free. **
6226
Views
1
Helpful
5
Replies
CreatePlease to create content