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
2 Answers
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.
-
-
-
-
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.– hakkicanOct 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. Oct 18, 2021 at 13:48
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.
-
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.">>– hakkicanOct 15, 2021 at 6:50
-