12-09-2005 05:28 PM - edited 03-03-2019 01:05 AM
12-09-2005 10:43 PM
Switch#sh version
12-10-2005 03:17 AM
Actually, "sh version" is inconclusive in a CatOS switch. Only in IOS does it indicate the reload reason (power-on, bus error etc). I'm wondering if I can find this type of information in a CatOS switch. My 4506 shows me the uptime, but not the reload reason.
12-10-2005 06:00 AM
This info can be extrapolated, although it's not entirely straightforward in CatOS. You can get this info from the nvram log (show log)
Last software reset by user: 12/10/2005,04:43:56
Now, there are three causes for a reset.
1) software reset
2) Power cycle
3) software exception
If it's a software reset, then look at the "last software reset by user," which should match the last reboot seen in the Re-boot History.
Re-boot History: Dec 10 2005 04:44:48 0, Dec 09 2005 07:28:28 0
Dec 09 2005 12:03:07 0, Nov 11 2005 18:42:20 0
In this example, the "Last software reset" matches the most recent reboot in the Reboot history. If, for example, the switch was power cycled, you would see that the most recent reboot in the reboot history does not match the "last software reset." Alternatively, if there was a switch crash, The next line under the "Last software reset" gives you the last Exception, which would correlate to the most recent reboot in the Reboot history.
Last software reset by user: 12/10/2005,04:43:56
Last Exception occurred on May 12 2004 16:24:51
---
Here's a partial show log with all of the relevant information as described above:
Console> (enable) show log
Network Management Processor (ACTIVE NMP) Log:
Reset count: 61
Re-boot History: Dec 10 2005 04:44:48 0, Dec 09 2005 07:28:28 0
Dec 09 2005 12:03:07 0, Nov 11 2005 18:42:20 0
Nov 11 2005 17:24:43 0, Sep 28 2005 16:15:36 0
Sep 28 2005 16:07:52 0, Sep 26 2005 13:13:13 0
Sep 26 2005 08:14:43 0, Sep 26 2005 08:11:13 0
Bootrom Checksum Failures: 0 UART Failures: 0
Flash Checksum Failures: 0 Flash Program Failures: 0
Power Supply 1 Failures: 0 Power Supply 2 Failures: 0
Swapped to CLKA: 0 Swapped to CLKB: 0
Swapped to Processor 1: 6 Swapped to Processor 2: 1
DRAM Failures: 0
Exceptions: 1
Loaded NMP version: 7.6(3a)
Software version: bootflash:BTSYNC_cat6000-supk8.7-6-3a.bin
Reload same NMP version count: 1
Last software reset by user: 12/10/2005,04:43:56
Last Exception occurred on May 12 2004 16:24:51 ...
Software version = 8.1(1)
HTH,
Bobby
12-10-2005 11:44 PM
Thanks so much Bobby. This is a great help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide