Cisco Support Community
Community Member

Snmp for inventory !

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

Cisco Employee

Re: Snmp for inventory !

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, we have the SNMP Object Navigator at . I wrote one at . There are also ones you can find simply by searching with Google.

CreatePlease to create content