Cisco ASA list all SNMP OIDs

Cisco ASA list all SNMP OIDs

I don't find the cisco SNMP documentation too intuitive(slow) to navigate at the moment so a nice little command to help with ASAs and finding interesting OIDs. It does seem to be one of the "hidden" commands for some reason...Should work with all ASAs running version 8+

m00nie-ASA# show snmp-server ?

engineID    Show snmp engineID
group       Show snmp groups
statistics  Show snmp-server statistics
user        Show snmp users

m00nie-ASA# show snmp-server oid?
ERROR: % Unrecognized command

The command below gives a nice easy to read list

As you can see from the above you need to type the whole command in since its "hidden"

m00nie-ASA# show snmp-server oidlist

-------------------------------------------------
[0]     1.3.6.1.2.1.1.1.        sysDescr
[1]     1.3.6.1.2.1.1.2.        sysObjectID
[2]     1.3.6.1.2.1.1.3.        sysUpTime
[3]     1.3.6.1.2.1.1.4.        sysContact
[4]     1.3.6.1.2.1.1.5.        sysName
[5]     1.3.6.1.2.1.1.6.        sysLocation
[6]     1.3.6.1.2.1.1.7.        sysServices
[7]     1.3.6.1.2.1.2.1.        ifNumber
[8]     1.3.6.1.2.1.2.2.1.1.    ifIndex
..
..
[661]   1.3.6.1.4.1.9.9.491.1.3.3.1.1.8.        cufwUrlfServerReqsNumDenied
[662]   1.3.6.1.4.1.9.9.491.1.3.3.1.1.9.        cufwUrlfServerNumTimeouts

So lets use snmpwalk on our linux server to test things are ok and get some info with the newly found OIDs.

m00nie@linuxland:~$ snmpwalk -c lalalala -v 2c 10.254.253.66 1.3.6.1.2.1.1.4
SNMPv2-MIB::sysContact.0 = STRING: m00nies Networks

Now its easy to get cacti or similar to graph the info for you

m00nie :)