06-04-2003 06:41 AM - edited 03-02-2019 07:52 AM
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.
Solved! Go to Solution.
06-04-2003 07:26 AM
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
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
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
06-04-2003 07:26 AM
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
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
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide