Cisco Routers and Switches with L3 routing functions are seen to have problems with High CPU usage when SNMP is enabled. This can range anything from 15% to 40%. According to Cisco, these are low priority processes and other priority processes requiring CPU cycles are given priority over these processes and this level of CPU utilisation can be is normal. However, it is always better to be safe than sorry and get the CPU utilisation caused by SNMP to bare minimum so as to ensure the Routers function smoothly.
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 18.104.22.168.22.214.171.124 excluded
router(config)# snmp-server view cutdown 126.96.36.199.188.8.131.52 excluded
router(config)# snmp-server view cutdown 184.108.40.206.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 220.127.116.11.6.3.15 excluded
router(config)# snmp-server view cutdown 18.104.22.168.6.3.16 excluded
router(config)# snmp-server view cutdown 22.214.171.124.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