08-04-2021 07:20 PM
Hello
I have old catalyst 2950 for lab purposes (C2950-I6K2L2Q4-M, Version 12.1(22)EA13). Today i wanted to excercise with snmp on it and noticed that i cant get many of "popular" OIDs numbers.
According to cisco 2950 series guide this switch should handle a lot of MIBs for example: CISCO-PROCESS-MIB and many others.
snmpwalk (snmpwalk -v2c -c password X.X.X.X ) gives me exactly 1235 entries for whole switch (is that normal?), and there is no OIDs from mentioned process-mib -> https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html
Is it possible that this device have faulted MIBs or maybe this IOS image is wrong? I suppose that probably many others MIBs are missing also.
08-05-2021 02:21 AM
if you do SNMP walk in general you get that huge information that is normal, but you need to look for what you looking to capture and monitor, most of the information not required, but some required based on the usage and requirement for analytics
you can find MIB Location (but for that model you do not need any more MIB to add)
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
08-05-2021 02:47 AM - edited 08-05-2021 03:22 AM
"if you do SNMP walk in general you get that huge information that is normal" - i know thats normal. Question is if there should be MUCH more - as i mentioned i dont see many OID which this switch should serve.
I still cant get basic information like CPU utilization by SNMP for example.
08-05-2021 06:15 AM
Its been Long many years worked on 12.1 version or any 12.X version
you can check this OID : to get CPU information you looking
(this document also have MIB)
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
08-05-2021 08:25 AM - edited 08-05-2021 08:26 AM
Did you read my first post? I linked the same document. I know these OID numbers.
08-05-2021 03:57 PM
Did you read my first post? I linked the same document. I know these OID numbers.
I do read your post, I do refer to your other following post - you got many results but you did not get the right information - but we do not know what information you did not get (especially related to CPU), hence the suggestion that URL gives you OID and MIB information to get correct results.
we do not have much visibility when issuing as a suggested document? what was the outcome you got.
what is the outcome when you issue this?
%snmpwalk –v2c –c public 172.16.99.1 .1.3.6.1.4.1.9.2.1.56 !--- SNMP Query enterprises.9.2.1.56.0 = 2 !--- Response
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
08-05-2021 11:58 AM
net-snmp roots itself at the MIBII level by default. The CISCO-PROCESS-MIB is in the enterprise branch.
To access every OID root the snmpwalk at iso.
snmpwalk -v 2c -c community 10.1.1.1 iso
To get only the enterprise branch root the walk at enterprise including the CISCO-PROCESS-MIB
snmpwalk -v 2c -c community 10.1.1.1 enterprise
- Dan
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