0

Today we had to power cycle our Cisco ASA 5506 , since I could not connect to it through any of the connected interfaces.

How can I get the logs to see what failed or what was the state of the ASA before the power cycle?

Thanks an advance!

Alvaro Lamadrid

8
  • Did you look at the logs on the syslog server you have configured in the ASA to send its logs?
    – Ron Maupin
    Dec 22, 2018 at 17:43
  • @RonMaupin thank you for your reply. We dont have a Syslog server in place , can the logs be found locally on the ASA? Dec 22, 2018 at 17:44
  • Did you configure any logging? Most likely, any information that was in the ASA is gone after you reloaded it. Cisco has a lot of was to save logging information, from SNMP traps to syslog servers, but if you did not configure any, then I do not see how we can help you.
    – Ron Maupin
    Dec 22, 2018 at 17:53
  • Thank you @RonMaupin, I have not configured any of those logging services on the Cisco ASA , I was wondering if just like Windows and Linux , the ASA would have a locally available method to check the logs. So , this means that in order to get logs from the Cisco ASA you must configure one of this network services? (SNMP or Syslog) Dec 22, 2018 at 18:03
  • It will log to the level you have configured in an internal buffer, but I doubt that survives a reload. You can try sh log to see what is in the buffer.
    – Ron Maupin
    Dec 22, 2018 at 18:06

1 Answer 1

2

If persistent logging was not configured (syslog, local file, serial console, etc.), then the logs will be lost upon reload or power cycle. Unlike Windows (eventlog) or Linux (syslog, journalD), this is NOT an automatic process. If you didn't take steps to collect and store the information, it doesn't get collected or stored.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.