In IOS you can use the below commands to enable SNMP polling. These are all entered in Global Config mode (config)#
snmp-server community readonlypasswd RO 1
snmp-server community readwritepasswd RW 1
RO denotes read-only access RW denotes read-write access. You may wish to only enable Read-Only depending on your requirements.
The number on the end of the statements are refering to a standard access-list restricting access to the snmp-server on the device. Only allow your management systems access. You don't have to use an access-list but it would be very wise to.
Also make sure you lock down SNMP triggered TFTP transfer from the device to only trusted TFTP servers.
For further snmp-server options check out the cisco documentation.
thanx for ur help.now i can monitor the traffice of all the interfaces, but how can i see the temprature,cpu load & memory usage of router & switches? As i m using open source MRTG tools with windows XP. Is thr ne configuration i do ?
MRTG is very easy to configure to report on anything you know the snmp OID for. I've never built on XP only every on RedHat / Slackware Linux.
For the likes of CPU you need to make sure you change the global options to ensure that you are recording guage values as opposed to 5 minute averages. There is an OID for CPU which reports the 5 minute average so it does not need calulating. For CPU you will also need to list the OID twice in your target as MRTG requires two inputs.
I would recommend you to check out the Cisco SNMP navigator on this site for OIDs.
Your ref. is good .let me ask u smthing. i m using router 2851 & switch 3560, how can i extract deatils such as temprature, memory used, cpu status likewise.what MIB i use to get such information in MRTG.Plz. tell me particulat MIB Id.
You need to know the IOS image version (like c7200-js-mz.12.3-3b ) you are using as different IOS releases support different MIBs. There is not one 'big' MIB with everything in it, instead there are different MIBs for different areas.
MRTG has the option to loads Mibs in the global defaults, or you can specify the oids manually on a per target basis. If you having problems you can also walk the oids manually using snmpwalk to see what is being returned.
I just want my MRTG display cup, memory & temp. status( router 2851(12.3). but i searched whole cisco website but could not find those MIBes. Please help me out in finding appropriate MIB to get above information. i m confused since i saw pool of mibes on web pages , getting dificult to choose one appropriate MIB to use.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...