How can I add SNMP to my Catalyst 2950 switch? and what will this give me with regards to network monitoring etc. A lot of my networks go through this device and I what to get stats on port etc. I really hope you can help here.
This doc should cover it:
Supported MIBs are listed here:
basically, the 2950 is fully SNMP-capable, which means that you can configure traps, enable syslogging, and pull anything with a MIB value from an SNMP management system (such as HP OpenView), including interface (utilization) statistics.
A basic SNMP configuration would look like this:
snmp-server community readonly ro
snmp-server community readwrite rw
snmp-server enable traps
snmp-server host X.X.X.X (where X.X.X.X is the IP address of your management station)
There is a whole chapter on CCO regarding SNMP configuration on the 2950, which might be worth looking at, here is the link:
2950 Configuring SNMP
I am having a different problem. I am using IP Switch whatsup tool to monitor my netowrk
I have enabled snmp in my swtiches and my tool is able to get snmp responses from switches
The problem is the MIB's contain OID's. I couldnt figure out which OID should I look into and which should I ignore.
Is there an documentation, that could explain me how OIDs are organised in MIBs.
For example I want to monitor memory usage of my router, after configuring snmp and adding mibs. how would I know which OID would give me the router memory status
Here's what you should do. Firstly, go to the following site which will give you a list of MIBs supported on the 2950:
Then, open up the Cisco SNMP Object Navigator at:
Within that, click on 'View and Download MIBs' and then select the MIBs you are interested in to download/view them.
As an example, you can get counters on memory pools from the CISCO-MEMORY-POOL-MIB
Hope that helps - pls rate the post if it does.
You can get all of your relevant memory OIDs from CISCO-MEMORY-POOL-MIB
However, there is also the old version 1 OLD-CISCO-MEMORY-MIB which you may find simpler to look at... You can get it here..
Hope that helps,
I simply added "snmp-server community password1234" and access-list 1 permit 10.10.10.3 (SNMP server) and I can now connect. What do I now have to do to get it to log to the syslog server, at say warning level?
Is warning an ok level to set it at or will I get too many syslog messages, maybe up it to error level? What do you set yours to?
is logging on reqired too?
logging level 'warning' is actually a pretty common logging level. It will generate traps on warning conditions, and system operation status.
'Logging on' is not required if you have an SNMP management IP address defined with the 'logging x.x.x.x' command. 'Logging on' would enable logging for all destinations including buffer and monitor logging. Unless you want/need that as well, do not use 'logging on'...
As Georg indicated, you will attract a reasonable amount of warnings if you set the level to that.
However, that is what we do... It's better to have too much information (that you can later filter) than not to capture it in the first place.
TRy it out and see how you go.. it's not likely to kill your server so you can safely trial it before deciding what to do..
Hope that helps.. pls rate helpful posts.