Fix for High CPU usage when SNMP is enabled in Cisco Routers
Posted by Admin on September 4th, 2008
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
The reason behind the High CPU usage can be caused by the Network Management Server (SNMP Server) like HP Openview querying for the Routing Tables and ARP tables to learn about other networks or querying for certain MIBs which can be resource intensive.
We can use the SNMP View configurations to include/exclude SNMP MIBs in Cisco IOS. So modify your SNMP configuration as follows:
Include the SNMP Root (ISO)
router(config)# snmp-server view cutdown iso included
Exlcude queries for Routing Table & ARP Table
We exclude the ipRouteTable & ipNetToMediaTable MIBs to avoid polliong for Routing tables and ARP tables.
router(config)# snmp-server view cutdown 1.3.6.1.2.1.4.21 excluded
router(config)# snmp-server view cutdown 1.3.6.1.2.1.4.22 excluded
router(config)# snmp-server view cutdown 1.3.6.1.2.1.3 excluded
Exclude CPU Intensive snmpUsmMIB, snmpVacmMIB,snmpCommunityMIB
These are good to disable for Security reasons as well.
router(config)# snmp-server view cutdown 1.3.6.1.6.3.15 excluded
router(config)# snmp-server view cutdown 1.3.6.1.6.3.16 excluded
router(config)# snmp-server view cutdown 1.3.6.1.6.3.18 excluded
Configure SNMP Community
Configure the SNMP community with the cutdown view as follows:
router(config)# snmp-server community public view cutdown RO
router(config)# snmp-server community myprivate view cutdown RW
For official Cisco Documentation check here

