1

Is there log file just like events file in windows showing what happened,who did what, kind of ? I could not see with show archive log.some switch goes down and support guys plug off/on cisco switch, guessing there is no power on button,and I would like to know what happened to this switch.thanks

3
  • Which Cisco product are you referring to?
    – Ron Trunk
    Oct 14, 2021 at 13:40
  • cisco catalyst series
    – hakkican
    Oct 14, 2021 at 13:42
  • 2
    The internal log is going to be limited, so you can log to an external logging server.
    – Ron Maupin
    Oct 14, 2021 at 14:57

2 Answers 2

2

You can see the event log with

show logging

This assumes you have enabled logging:

(example)

logging buffered 32768 informational

Note that if someone unplugs the device, it's not going to log that event.

5
  • Is there a reference that shows what is logged in these logs?
    – hakkican
    Oct 15, 2021 at 6:55
  • ups,electricity etc problems, are those getting logged?
    – hakkican
    Oct 18, 2021 at 9:55
  • No. There is no power quality monitoring
    – Ron Trunk
    Oct 18, 2021 at 12:24
  • at least is there a way to know at a specific time switch went offline and online on device level? I can see it go offline/online nms but can not find any logs to verify it.
    – hakkican
    Oct 18, 2021 at 13:43
  • The log would indicate a restart. But absent an external syslog server, all events prior to the restart would be lost.
    – Ron Trunk
    Oct 18, 2021 at 13:48
0

show logging displays the event log. For some events, you can (and may need to) explicitly configure logging.

Additionally, you can log to an external (syslog) server which can store more entries than the limited internal log and doesn't lose its entries on power loss.

2
  • I thought there is not any log configured.how I can check the status if any log is enabled? sorry for this terrible formatting that I could not put it properly <<# show archive log config all % Config Logger disabled.">>
    – hakkican
    Oct 15, 2021 at 6:50
  • this is a temp job, I will walk back few days only
    – hakkican
    Oct 15, 2021 at 6:55

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.