ASA SNMP OID’s
Ever have a need to find a specific SNMP Object ID on your ASA? Well you could use the Cisco SNMP Object Navigator for the ASA/PIX to locate the information or you could simply enter a command into the CLI. What command are you talking about you might say? I don't see a command that will give me this information. In fact about the only thing I can view on my ASA is the SNMP Server Statistics. Well it's actually hidden but if you issue the 'show snmp-server oidlist' command on your ASA it will list all OID's in that version of code along with a description of each Object ID. Here's an example:
ASA# sh 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 [9] 1.3.6.1.2.1.2.2.1.2. ifDescr [10] 1.3.6.1.2.1.2.2.1.3. ifType [11] 1.3.6.1.2.1.2.2.1.4. ifMtu [12] 1.3.6.1.2.1.2.2.1.5. ifSpeed [13] 1.3.6.1.2.1.2.2.1.6. ifPhysAddress [14] 1.3.6.1.2.1.2.2.1.7. ifAdminStatus [15] 1.3.6.1.2.1.2.2.1.8. ifOperStatus [16] 1.3.6.1.2.1.2.2.1.9. ifLastChange [17] 1.3.6.1.2.1.2.2.1.10. ifInOctets [18] 1.3.6.1.2.1.2.2.1.11. ifInUcastPkts [19] 1.3.6.1.2.1.2.2.1.12. ifInNUcastPkts [20] 1.3.6.1.2.1.2.2.1.13. ifInDiscards [21] 1.3.6.1.2.1.2.2.1.14. ifInErrors [22] 1.3.6.1.2.1.2.2.1.16. ifOutOctets <--- More --->

Comment by VirtualChris-OC on 28 October 2008:
That’s a great feature, that I didn’t know about.
cheers!
VirtualChris
Comment by Jarred on 5 November 2008:
Are there any similiar commands available on Catalyst Switches?
Comment by chip wagner on 12 November 2008:
How many of these “undocumented” commands are there. And are there any other helpful ones?
Comment by Joe Harris on 13 November 2008:
Funny you should bring that up, I was/am planning on detailing another very useful one tomorrow if I get time. Stay tuned but it may be over the weekend before I get it posted but prior to Monday.