cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4761
Views
0
Helpful
1
Replies

Snmp for inventory !

illusion_rox
Level 1
Level 1

Hi all, i want to collect inventory for the router i am targeting ( i am writing a program so need some help ). What i want is what modules are installed in router, their name, their serial no. If possible but optional for now is router flash and DRAM also. Kindly tell me which snmp oid shall i use. Plus also tell me the way by which i am able to search for my required oid, like in above case i dont know how to search cisco mib ?? i hope you understand my confusion, pls guide me

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

The answer to this question really depends on the device type and software version. Many devices today support the ENTITY-MIB for inventory. Within that MIB, the entPhysicalTable provides all of the necessary module details that you want (e.g. entPhysicalName, entPhysicalSerialNum, etc.). However, older versions of code may require you to use different MIBs such as the CISCO-STACK-MIB or OLD-CISCO-CHASSIS-MIB.

The same goes for memory and flash. In general, you will use the CISCO-MEMORY-POOL-MIB and CISCO-FLASH-MIB respectively. However, certain devices may require the CISCO-ENHANCED-MEMPOOL-MIB to properly get the available memory.

There are numerous MIB search tools out there. On Cisco.com, we have the SNMP Object Navigator at http://www.cisco.com/go/mibs/ . I wrote one at http://jaguar.ir.miami.edu/~marcus/snmptrans.html . There are also ones you can find simply by searching with Google.