Sunday, February 1, 2015

snmp tip cisco ios

I wanted to share a tip/trick for snmp gets and what oids are being hit on a cisco switch. Take this 6509 output from the following command

show snmp stats oid


The above output will show you what oids are being hit and the last time it was hit.

Great when your working with cacti/mrtg, Nagios, OpenNMS, or any other  SNMPquery tool and your looking to see if your  SNMPget/walk is being process on  a cisco gear without being in debug mode.

I believe this command is available for the cisco 6500/7600  series switches only and a few of the 3900 routers. Every time the list of oid are hit, the counters will increase & the timestamp updated


Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix  -----a----t---- socpuppets ---dot---com

    ^     ^
=(  *  * )=
        o 
       /  \





No comments:

Post a Comment