show tech-support/show logging - could I retrieve via SNMP?

Unanswered Question
Jul 31st, 2008
User Badges:

hello guys,

Do you know if there is a way to retrieve the output of of 'show tech-support' and 'show logging' via snmpget or snmpwalk?



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Thu, 07/31/2008 - 08:50
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

There is a dangerous way to do this. You can use the CISCO-CONFIG-COPY-MIB to copy a "do" command into the running-config which will trigger a TFTP transfer of the show command output. See on how to use the CISCO-CONFIG-COPY-MIB.

Your config snippet which will trigger the TFTP will be something like:

do show logg | redirect tftp://


You will probably need to pre-create the show_logg.txt file on your TFTP server. The big caution with this approach is that any interactive command will cause SNMP and the config to lock up forcing a reload.


This Discussion