XOS Stack Individual Member Uptime

  • 0
  • 1
  • Question
  • Updated 2 weeks ago
  • Answered
how can I see the individual uptime of switches in a stack ? We have switches in a stack rebooting and when I telnet into each slot it still only shows the uptime of the system.
Photo of Tino

Tino

  • 656 Points 500 badge 2x thumb

Posted 2 weeks ago

  • 0
  • 1
Photo of Naresh

Naresh, Employee

  • 1,336 Points 1k badge 2x thumb
Hi Tino,

Please login to the particular slot by "telnet slot <slot_number>" from the master or console to the particular node and check the output of "show switch" to check the individual node's uptime.
Photo of Tino

Tino

  • 656 Points 500 badge 2x thumb
Yes thanks I saw that, but system uptime still shows the master uptime. You have to look at "Boot time" on the output of "show switch". You can see here the switch booted an hour ago but the uptime is still 9 days:

Boot Time:        Fri Sep  7 12:46:42 2018
Boot Count:       15
Next Reboot:      None scheduled
System UpTime:    9 days 20 hours 43 minutes 56 seconds

In the end you should really have a command that you can use from the master switch, even like show slot 1 should show you uptime in there instead of having to telnet into each slot. annoying.
Photo of Necheporenko, Nikolay

Necheporenko, Nikolay, Employee

  • 1,480 Points 1k badge 2x thumb
Hello Tino,

There is no dedicated command you are looking for, but the following command may give you more clear picture
Slot-1 Stack.2 # debug hal show platform cardInfo | i "Slot:|PowerOn"
Slot: 1 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Thu Oct 31 04:19:38 2013
PowerOnDate: Mon Sep  3 16:08:16 2018
Slot: 2 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Fri Jun 10 02:57:49 2011
PowerOnDate: Mon Sep  3 16:08:13 2018
Slot: 3 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Tue Jul 10 02:40:18 2012
PowerOnDate: Mon Sep  3 16:08:14 2018
Slot: 4 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Fri Mar  9 03:03:16 2012
PowerOnDate: Tue Sep  4 03:55:54 2018
Slot: 5 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Fri Oct  7 21:15:29 2011
PowerOnDate: Tue Sep  4 03:55:58 2018
Slot: 6 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Mon May 14 17:19:48 2012
PowerOnDate: Tue Sep  4 03:55:58 2018
Slot: 7 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Tue Feb  5 01:29:01 2013
PowerOnDate: Tue Sep  4 03:55:57 2018
(Private) Slot-1 Stack.3 # 
(Private) Slot-1 Stack.3 # reboot slot 7 
Are you sure you want to reboot this stack node? (y/N) Yes

#####

Slot-1 Stack.13 # debug hal show platform cardInfo | i "Slot:|PowerOn"
Slot: 1 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Thu Oct 31 04:19:38 2013
PowerOnDate: Mon Sep  3 16:08:16 2018
Slot: 2 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Fri Jun 10 02:57:49 2011
PowerOnDate: Mon Sep  3 16:08:13 2018
Slot: 3 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Tue Jul 10 02:40:18 2012
PowerOnDate: Mon Sep  3 16:08:14 2018
Slot: 4 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Fri Mar  9 03:03:16 2012
PowerOnDate: Tue Sep  4 03:55:54 2018
Slot: 5 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Fri Oct  7 21:15:29 2011
PowerOnDate: Tue Sep  4 03:55:58 2018
Slot: 6 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Mon May 14 17:19:48 2012
PowerOnDate: Tue Sep  4 03:55:58 2018
Slot: 7 State: OPERATIONAL (28) Flags: 0x40 CleanUpPend: 0
PowerOnDate: Tue Feb  5 01:29:01 2013
PowerOnDate: Fri Sep  7 14:26:49 2018
Slot-1 Stack.14 # 
Best Regards,
Nikolay
(Edited)
Photo of Tino

Tino

  • 656 Points 500 badge 2x thumb
Thank you Nikolay, that is much easier than going into each slot individually. 

Just tried it and it worked for me.