cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
172
Views
0
Helpful
2
Replies
saleem771
Beginner

Router Logging Information

I want to download the complete logs of routers and switches which they generate. As show logging command only shows few current logs. Is there any way i can copy old logs as well which are not being displayed over the screen.

Please suggest a safe way to download logs and commands for activating logs over cisco routers and switches.

1 ACCEPTED SOLUTION

Accepted Solutions

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

As John notes, Cisco buffer logs are often limited in space, and they overwrite.  Best solution is often to also direct logging output to a syslogging server, as he also recommends.  That said, later Cisco device, I recall, can allocate quite a bit of (RAM) space to the syslog buffer.  Depending how far back in time you want your on-device log to retain, how chatty your logging is, and you "spare" RAM on the device, increasing your buffer log size might be all you need to do.

View solution in original post

2 REPLIES 2
johnlloyd_13
Engager

cisco devices have 'limited' logging buffer capacity and overwrites it once the limit is reached.

you'll need an external syslog server in order to capture historical logs.

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

As John notes, Cisco buffer logs are often limited in space, and they overwrite.  Best solution is often to also direct logging output to a syslogging server, as he also recommends.  That said, later Cisco device, I recall, can allocate quite a bit of (RAM) space to the syslog buffer.  Depending how far back in time you want your on-device log to retain, how chatty your logging is, and you "spare" RAM on the device, increasing your buffer log size might be all you need to do.

View solution in original post