cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
620
Views
4
Helpful
2
Replies

How to know router error message

zhendongzhang
Level 1
Level 1

When I router reboot automatically. How to find error message.

1 Accepted Solution

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

zhendong

I am not sure that I understand your question very well. When you say router reboot automatically am I correct in assuming that you mean that software error forces the router to reload? If that is the question then one potential answer is that the router may have created a crashinfo file when it rebooted and the error message may be in the crashinfo file. If it is a software forced reboot there may also be some helpful information in the show version output or in the output of show stacks.

Or your question may be that when the router reloads any messages in the syslog buffer are gone and you want to see what message the router logged before the crash. If that is the question then a potential answer could be to send the syslog messages to a syslog server so that you can look up messages about an event after the event has happened. Or another alternative (if you do not have a syslog server) might be to put a PC on the console of the router. The syslog messages would still be in the screen buffer on the PC and you might be able to scroll back and see them.

If these are not the answers that you are looking for then perhaps you can clarify your question a bit.

HTH

Rick

HTH

Rick

View solution in original post

2 Replies 2

deigonza
Level 1
Level 1

you can find error messages in the "show log" and "show version" command output.

In the show version, the line you should look at is "System returned to ROM by".

Example:

Router uptime is 4 days, 22 hours, 43 minutes

System returned to ROM by power-on

System image file is "flash:c2800nm-adventerprisek9-mz.124-13a.bin"

The router was powered down manually; you can find detailed information on the following link:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a008010876d.shtml#id

Please rate if helpful.

Richard Burts
Hall of Fame
Hall of Fame

zhendong

I am not sure that I understand your question very well. When you say router reboot automatically am I correct in assuming that you mean that software error forces the router to reload? If that is the question then one potential answer is that the router may have created a crashinfo file when it rebooted and the error message may be in the crashinfo file. If it is a software forced reboot there may also be some helpful information in the show version output or in the output of show stacks.

Or your question may be that when the router reloads any messages in the syslog buffer are gone and you want to see what message the router logged before the crash. If that is the question then a potential answer could be to send the syslog messages to a syslog server so that you can look up messages about an event after the event has happened. Or another alternative (if you do not have a syslog server) might be to put a PC on the console of the router. The syslog messages would still be in the screen buffer on the PC and you might be able to scroll back and see them.

If these are not the answers that you are looking for then perhaps you can clarify your question a bit.

HTH

Rick

HTH

Rick
Review Cisco Networking products for a $25 gift card