cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3312
Views
0
Helpful
8
Replies

OID for bootimage and ram

kulinski
Level 1
Level 1

hi together,

i'm looking for some oids and maybe someone is able to help...

in fact i've got to get some system information of many devices and it would take too long me accessing every device and setting up some show commands.

So i decided to use snmp...

I'm looking for the name of the system image file ( shown with the command show version ), the system ram size and the flash size.

For flash I found 1.3.6.1.4.1.9.2.10.1.0 for the total flash size and 1.3.6.1.4.1.9.2.10.2.0 for the size of free flash memory.

For the system image I found 1.3.6.1.4.1.9.2.10.17.1.1.1 which repesents the lists of files found in flash. You see, that the last one doesn't match my destination clearly cause no all image files are in flash ( some in slot0:, some in bootflash, some anywhere).

For ram i didn't find anything.

Maybe some of you had a similar task and can help with these two oids.

kind regards

Chris Kulinski

1 Accepted Solution

Accepted Solutions

Here's some info that might help. These are deprecated but they still work

#-------------------

# SNMPv2-SMI::enterprises.9.3.6.6.0 -- Get System DRAM amount

# sample-> SNMPv2-SMI::enterprises.9.3.6.6.0 253755392

#-------------------

# SNMPv2-SMI::enterprises.9.9.10.1.1.2.1.8.1 -- Get system Flash type

# sample-> SNMPv2-SMI::enterprises.9.9.10.1.1.2.1.8.1 "Onboard system FLASH"

#-------------------

# SNMPv2-SMI::enterprises.9.9.10.1.1.2.1.2.1 -- Get system Flash amount in bytes

# sample-> SNMPv2-SMI::enterprises.9.9.10.1.1.2.1.2.1 16128000

#-------------------

View solution in original post

8 Replies 8

mrlutz
Level 1
Level 1

I'm looking for the same thing. The only thing I could find out there is:

cisco.ciscoMgmt.ciscoMemoryPoolMIB.ciscoMemoryPoolObjects.ciscoMemoryPoolTable.ciscoMemoryPoolEntry

Which is basically the same output of "show memory summary". The really odd thing is that if you add the values up (Processor Free/Used, and I/O free/used), you don't get the same as a "show ver", which I believe is the correct value.

can anyone shed some light on this?

Thanks,

Matt

Martin Ermel
VIP Alumni
VIP Alumni

to get the system image make some tests with this OID (I currently have no modular switch available to test but on a 3600 and 3500XL it works)

.1.3.6.1.2.1.16.19.6.0

it is from the RMON mib and defines the file to be downloaded for the RMON agent. As cisco implements this agent in the IOS it should point to you current IOS image binary

you can get a part of "show version" with this one:

.1.3.6.1.2.1.1.1.0

HTH

MArtin

Hi toghether,

first, thanks for ya help...

I'm gonna check the new information I got tomorrow

I'll post the results as a feedback to get you informed about the latest state

kind regards

Chris Kulinski

Here's some info that might help. These are deprecated but they still work

#-------------------

# SNMPv2-SMI::enterprises.9.3.6.6.0 -- Get System DRAM amount

# sample-> SNMPv2-SMI::enterprises.9.3.6.6.0 253755392

#-------------------

# SNMPv2-SMI::enterprises.9.9.10.1.1.2.1.8.1 -- Get system Flash type

# sample-> SNMPv2-SMI::enterprises.9.9.10.1.1.2.1.8.1 "Onboard system FLASH"

#-------------------

# SNMPv2-SMI::enterprises.9.9.10.1.1.2.1.2.1 -- Get system Flash amount in bytes

# sample-> SNMPv2-SMI::enterprises.9.9.10.1.1.2.1.2.1 16128000

#-------------------

hey jeortiz,

the last post had an age of about 100 days..

don't you think that case is cleared meanwhile ?

but, nevertheless, thanks for ya help...

I didn't see any indication that it had been cleared. In any case, I found the thread looking for the same info, and thought I'd post it to the thread in case anyone else was looking and found this thread in a search.

yes sure, maybe it can help somebody now..

i just was a bit confused seeing that old post poppin' up again...