07-02-2020 11:50 PM
hi,
i would like to know about how long can switch local storage keep log ?
what kind of log are store in switch local storage ?
if switch is restart what kind of log are still remain in switch storage ?
In the operation what kind of log are need to store for troubleshooting purpose ?
Solved! Go to Solution.
07-03-2020 09:10 AM - edited 07-06-2020 06:15 AM
"i would like to know about how long can switch local storage keep log ?"
As long as 1) there's no power interruption and 2) the log space isn't filled.
"what kind of log are store in switch local storage ?"
Syslog, if enabled to do so. Content depends on logging detail settings and what event transpire on the device.
"If switch is restart what kind of log are still remain in switch storage ?"
None, although some failure restarts will log some reason for restart and perhaps a diagnostic dump into flash too.
"In the operation what kind of log are need to store for troubleshooting purpose ?"
Unfortunately, often not enough information on the device, itself, to troubleshoot. As the other posters have noted, you can direct syslog to an external syslogging device, and that might provide the information needed right before the device failed. However, as mentioned above, you can control what information might be logged so, without the "needed" settings, you might not have enough detail information to determine cause of issue.
07-03-2020 12:06 AM
- Take note of this thread and or also consider using a syslog server for keeping logs :
https://community.cisco.com/t5/switching/cisco-switch-logging-buffer-size/td-p/3299430
M.
07-03-2020 12:32 AM
Switch Log stored in Buffer based on the available and first come last will go will be the basis. if the Switch rebooted the logs go you do not have any more logs - advise you to set up a Syslog server to offload from the switch, you can retain as long as you want for governance and diagnosis purpose.
07-03-2020 09:10 AM - edited 07-06-2020 06:15 AM
"i would like to know about how long can switch local storage keep log ?"
As long as 1) there's no power interruption and 2) the log space isn't filled.
"what kind of log are store in switch local storage ?"
Syslog, if enabled to do so. Content depends on logging detail settings and what event transpire on the device.
"If switch is restart what kind of log are still remain in switch storage ?"
None, although some failure restarts will log some reason for restart and perhaps a diagnostic dump into flash too.
"In the operation what kind of log are need to store for troubleshooting purpose ?"
Unfortunately, often not enough information on the device, itself, to troubleshoot. As the other posters have noted, you can direct syslog to an external syslogging device, and that might provide the information needed right before the device failed. However, as mentioned above, you can control what information might be logged so, without the "needed" settings, you might not have enough detail information to determine cause of issue.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: