07-14-2023 09:13 AM
WS-C2960X-48FPS-L (Stack of 2) is getting rebooted by itself in every 3 to 4 hours.
WS-C2960X-48FPS-L (APM86XXX)
Note: Only switch 1 is rebooting, not switch 2.
Switch is running on IOS: c2960x-universalk9-mz.152-7.E7.bin
--------------------------------------------------------------
switch# sh switch
Switch/Stack Mac Address : xxxx.xxxx.xxxx
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
1 Member xxxx.xxxx.xxxx 15 4 Ready
*2 Master xxxx.xxxx.xxxx 13 4 Ready
switch# sh switch stack-ports
Switch # Port 1 Port 2
1 Ok Ok
2 Ok Ok
switch# sh switch stack-ring speed
Stack Ring Speed : 20G
Stack Ring Configuration: Full
Stack Ring Protocol : FlexStack
switch# show env power all
SW PID Serial# Status Sys Pwr PoE Pwr Watts
-- ------------------ ---------- --------------- ------- ------- -----
1 Built-in Good
2 Built-in Good
switch# sh env fan
FAN is OK
switch# sh env temperature
SYSTEM TEMPERATURE is OK
switch# sh env stack
SWITCH: 1
FAN is OK
TEMPERATURE is OK
Temperature Value: 39 Degree Celsius
Temperature State: GREEN
Yellow Threshold : 58 Degree Celsius
Red Threshold : 68 Degree Celsius
RPS is NOT PRESENT
SWITCH: 2
FAN is OK
TEMPERATURE is OK
Temperature Value: 39 Degree Celsius
Temperature State: GREEN
Yellow Threshold : 58 Degree Celsius
Red Threshold : 68 Degree Celsius
RPS is NOT PRESENT
switch 2 uptime is 15 hours, 40 minutes
switch 1 uptime is 3 hours, 47 minutes
07-14-2023 09:55 AM
Hi @Nurul Islam
Run "show version" and see the last reload reason.
07-14-2023 10:00 AM
Hello @Flavio Miranda
switch# sh ver
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(7)E7, RELEASE SOFTWARE (fc10)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2022 by Cisco Systems, Inc.
Compiled Thu 22-Sep-22 08:33 by mcpre
ROM: Bootstrap program is C2960X boot loader
BOOTLDR: C2960X Boot Loader (C2960X-HBOOT-M) Version 15.2(6r)E, RELEASE SOFTWARE (fc1)
switch uptime is 16 hours, 38 minutes
System returned to ROM by power-on
System restarted at 00:17:39 GMT Fri Jul 14 2023
System image file is "flash:c2960x-universalk9-mz.152-7.E7.bin"
Last reload reason: Reload command
Note: It's showing the reload reason for switch 2 which is master at the moment and we are having issue with switch 1
07-14-2023 10:22 AM
This is a good place to go when the switch reload. This logs is not good as it is saying the reload reason was due the reload command, so, it would be good look the same information but when the switch reload again by itself.
If the switch with problem is another switch, it would be good do a console on it and see the logs. Maybe remove it from the stack
07-14-2023 10:26 AM
Sure, I will console into it and check...
And just to let you know it's a Stack of 2 switches and switch 2 is fine, it's only the switch 1 which is rebooting by itself...
07-14-2023 11:41 AM
switch# sh version
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(7)E7, RELEASE SOFTWARE (fc10)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2022 by Cisco Systems, Inc.
Compiled Thu 22-Sep-22 08:33 by mcpre
ROM: Bootstrap program is C2960X boot loader
BOOTLDR: C2960X Boot Loader (C2960X-HBOOT-M) Version 15.2(6r)E, RELEASE SOFTWARE (fc1)
switch uptime is 17 minutes
System returned to ROM by power-on
System restarted at 18:21:56 GMT Fri Jul 14 2023
System image file is "flash:c2960x-universalk9-mz.152-7.E7.bin"
Last reload reason: power-on
07-14-2023 11:45 AM
Interesting. It suggest problems related to power supply or AC power problem.
07-14-2023 11:59 AM
Changing the power cable and outlet now
07-14-2023 05:20 PM
Post the complete output to the following command "remote command 1 sh log on up det"
07-14-2023 05:47 PM - edited 07-14-2023 05:51 PM
Hi Leo,
switch# remote command 1 sh log on up det
Switch : 1 :
------------
OBFL not initialized on slot 1
---------------------------------------------------
Ran the same command again:
switch#remote command 1 sh log on up det
Switch : 1 :
------------
--------------------------------------------------------------------------------
UPTIME SUMMARY INFORMATION
--------------------------------------------------------------------------------
First customer power on : 08/14/2014 21:28:42
Total uptime : 0 years 17 weeks 1 days 19 hours 0 minutes
Total downtime : 0 years 5 weeks 6 days 1 hours 27 minutes
Number of resets : 10
Number of slot changes : 2
Current reset reason : 0x0
Current reset timestamp : 07/15/2023 00:47:53
Current slot : 1
Current uptime : 0 years 0 weeks 0 days 0 hours 0 minutes
--------------------------------------------------------------------------------
Reset | |
Reason | Count |
--------------------------------------------------------------------------------
No historical data to display
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
UPTIME CONTINUOUS INFORMATION
--------------------------------------------------------------------------------
Time Stamp | Reset | Uptime
MM/DD/YYYY HH:MM:SS | Reason | years weeks days hours minutes
--------------------------------------------------------------------------------
08/14/2014 21:28:42 0x0 0 0 0 0 0
08/14/2014 21:38:17 0x0 0 0 0 0 0
08/19/2014 19:22:03 0x0 0 0 0 0 0
09/24/2014 21:35:20 0x0 0 0 0 4 0
11/24/2014 01:57:57 0x0 0 8 4 3 0
11/24/2014 03:08:43 0x0 0 0 0 0 40
01/09/2015 18:20:49 0x0 0 6 4 14 0
01/09/2015 20:14:16 0x0 0 0 0 1 0
01/09/2015 20:55:07 0x0 0 0 0 0 20
01/23/2015 17:56:00 0x0 0 1 6 20 0
--------------------------------------------------------------------------------
07-14-2023 05:56 PM
Can I see the output to the command "dir flash1:".
07-14-2023 05:57 PM
switch#dir flash1:
Directory of flash1:/
2 -rwx 1464 Jul 15 2023 00:42:52 +00:00 vlan.dat
3 -rwx 38931 Jul 14 2023 19:03:48 +00:00 config.text.backup
4 -rwx 22677 Nov 21 2019 19:31:58 +00:00 config.old
5 -rwx 39565 May 20 2021 19:52:11 +00:00 running-config
6 -rwx 21268480 Nov 21 2019 23:33:33 +00:00 c2960x-universalk9-mz.152-2.E4.bin
7 drwx 512 Mar 26 2016 09:30:52 +00:00 c2960x-universalk9-mz.152-2.E4
672 drwx 512 Mar 26 2016 09:30:52 +00:00 dc_profile_dir
674 -rwx 5902 Jul 14 2023 19:03:49 +00:00 private-config.text.backup
675 -rwx 5902 Jul 14 2023 19:03:50 +00:00 private-config.text
676 -rwx 37295 Apr 3 2020 14:44:46 +00:00 2apr20.config
677 -rwx 26788864 Jul 12 2023 14:24:12 +00:00 c2960x-universalk9-mz.152-7.E7.bin
678 -rwx 38905 Jul 14 2023 19:03:49 +00:00 config.text
679 -rwx 4120 Jul 14 2023 18:38:30 +00:00 multiple-fs
122185728 bytes total (46432256 bytes free)
07-14-2023 06:59 PM
It is not cause by a crash.
Therefore I can say that the switch has power source issues.
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