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

Where do a get an OID to find out what's my router's DRAM size?

dahirton
Level 1
Level 1

I'm looking for a MIB or at least an OID that could give me the amount of DRAM memory I've installed in a given router. Can someone pls gimme a clue on it? I've researched thru the SNMP object navigator but couldn't find what I was looking for.

1 Accepted Solution

Accepted Solutions

rmushtaq
Level 8
Level 8

CISCO-MEMORY-POOL-MIB is what you can use. Though, there are no objects that show the total physical DRAM installed. You can calculate it like this.

snmpwalk 1.3.6.1.4.1.9.9.48.1.1.1.2

cisco.ciscoMgmt.48.1.1.1.2.1 : OCTET STRING- (ascii): Processor

cisco.ciscoMgmt.48.1.1.1.2.2 : OCTET STRING- (ascii): I/O ---> get I/O OID

get "ciscoMemoryPoolUsed" , "ciscoMemoryPoolFree" for I/O and "processorRam"

snmpget 1.3.6.1.4.1.9.9.48.1.1.1.5.2 1.3.6.1.4.1.9.9.48.1.1.1.6.2 1.3.6.1.4.1.9.3.6.6.0

cisco.ciscoMgmt.48.1.1.1.5.2 : Unsigned32: 1883152

cisco.ciscoMgmt.48.1.1.1.6.2 : Unsigned32: 23282672

cisco.temporary.6.6.0 : INTEGER: 75497472

1883152 + 23282672 = 25165824.00 ---> Total I/O + 75497472 (Processor) = 100663296.00 ---> Total

Memory

sh ver for memory:

cisco 3640 (R4700) processor (revision 0x00) with 73728K/24576K bytes of memory.

24576 x 1024 = 25165824 ---> Total I/O

73728K x 1024 = 75497472.00 ---> Processor

Total Memory = 100663296.00

View solution in original post

1 Reply 1

rmushtaq
Level 8
Level 8

CISCO-MEMORY-POOL-MIB is what you can use. Though, there are no objects that show the total physical DRAM installed. You can calculate it like this.

snmpwalk 1.3.6.1.4.1.9.9.48.1.1.1.2

cisco.ciscoMgmt.48.1.1.1.2.1 : OCTET STRING- (ascii): Processor

cisco.ciscoMgmt.48.1.1.1.2.2 : OCTET STRING- (ascii): I/O ---> get I/O OID

get "ciscoMemoryPoolUsed" , "ciscoMemoryPoolFree" for I/O and "processorRam"

snmpget 1.3.6.1.4.1.9.9.48.1.1.1.5.2 1.3.6.1.4.1.9.9.48.1.1.1.6.2 1.3.6.1.4.1.9.3.6.6.0

cisco.ciscoMgmt.48.1.1.1.5.2 : Unsigned32: 1883152

cisco.ciscoMgmt.48.1.1.1.6.2 : Unsigned32: 23282672

cisco.temporary.6.6.0 : INTEGER: 75497472

1883152 + 23282672 = 25165824.00 ---> Total I/O + 75497472 (Processor) = 100663296.00 ---> Total

Memory

sh ver for memory:

cisco 3640 (R4700) processor (revision 0x00) with 73728K/24576K bytes of memory.

24576 x 1024 = 25165824 ---> Total I/O

73728K x 1024 = 75497472.00 ---> Processor

Total Memory = 100663296.00

Review Cisco Networking for a $25 gift card