05-04-2015 06:30 AM - edited 03-01-2019 12:10 PM
I received some SNMP errors this weekend stating the the port channels coming from my Nexus 5k's to my UCS 6248 Switches went down. This caused a few issues. I am trying to determine if the 6248UP's rebooted. Can you please send me the commands to check their uptime?
Solved! Go to Solution.
05-04-2015 09:55 AM
Gary,
You can check it over NXOS,but check also for core files.
ssh bdsol-6248-06 -l admin Cisco UCS 6200 Series Fabric Interconnect Password: Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (c) 2009, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under license. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or the GNU Lesser General Public License (LGPL) Version 2.1. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://www.opensource.org/licenses/lgpl-2.1.php bdsol-6248-06-B# conn nx Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under license. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or the GNU Lesser General Public License (LGPL) Version 2.1. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://www.opensource.org/licenses/lgpl-2.1.php bdsol-6248-06-B(nxos)# show ver Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained herein are owned by other third parties and are used and distributed under license. Some parts of this software are covered under the GNU Public License. A copy of the license is available at http://www.gnu.org/licenses/gpl.html. Software BIOS: version 3.6.0 loader: version N/ kickstart: version 5.2(3)N2(2.22c) system: version 5.2(3)N2(2.22c) power-seq: Module 1: version v2.0 Module 3: version v2.0 uC: version v1.2.0.1 SFP uC: Module 1: v1.1.0.0 BIOS compile time: 05/09/2012 kickstart image file is: bootflash:///installables/switch/ucs-6100-k9-kickstart.5.2.3.N2.2.22c.bin kickstart compile time: 5/21/2014 15:00:00 [05/22/2014 00:51:04] system image file is: bootflash:///installables/switch/ucs-6100-k9-system.5.2.3.N2.2.22c.bin system compile time: 5/21/2014 15:00:00 [05/22/2014 02:17:46] Hardware cisco UCS 6248 Series Fabric Interconnect ("O2 32X10GE/Modular Universal Platform Supervisor") Intel(R) Xeon(R) CPU with 16553940 kB of memory. Processor Board ID FOC16490BRL Device name: bdsol-624806-B bootflash: 31266648 kB Kernel uptime is 167 day(s), 8 hour(s), 39 minute(s), 21 second(s) Last reset at 925225 usecs after Tue Nov 18 09:09:24 2014 Reason: Reset Requested by CLI command reload System version: 5.0(3)N2(2.11.3d) Service: plugin Core Plugin, Ethernet Plugin, Fc Plugin, Virtualization Plugin
bdsol-6248-06-B(nxos)# show system uptime System start time: Tue Nov 18 09:14:00 2014 System uptime: 167 days, 8 hours, 26 minutes, 36 seconds Kernel uptime: 167 days, 8 hours, 41 minutes, 28 seconds Active supervisor uptime: 167 days, 8 hours, 26 minutes, 36 seconds
To check for cores:
bdsol-6248-06-B# scope system bdsol-6248-06-B /system # top bdsol-6248-06-B# scope monitoring bdsol-6248-06-B /monitoring # scope sysdebug bdsol-6248-06-B /monitoring/sysdebug # show cores
05-04-2015 09:55 AM
Gary,
You can check it over NXOS,but check also for core files.
ssh bdsol-6248-06 -l admin Cisco UCS 6200 Series Fabric Interconnect Password: Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (c) 2009, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under license. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or the GNU Lesser General Public License (LGPL) Version 2.1. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://www.opensource.org/licenses/lgpl-2.1.php bdsol-6248-06-B# conn nx Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under license. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or the GNU Lesser General Public License (LGPL) Version 2.1. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://www.opensource.org/licenses/lgpl-2.1.php bdsol-6248-06-B(nxos)# show ver Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained herein are owned by other third parties and are used and distributed under license. Some parts of this software are covered under the GNU Public License. A copy of the license is available at http://www.gnu.org/licenses/gpl.html. Software BIOS: version 3.6.0 loader: version N/ kickstart: version 5.2(3)N2(2.22c) system: version 5.2(3)N2(2.22c) power-seq: Module 1: version v2.0 Module 3: version v2.0 uC: version v1.2.0.1 SFP uC: Module 1: v1.1.0.0 BIOS compile time: 05/09/2012 kickstart image file is: bootflash:///installables/switch/ucs-6100-k9-kickstart.5.2.3.N2.2.22c.bin kickstart compile time: 5/21/2014 15:00:00 [05/22/2014 00:51:04] system image file is: bootflash:///installables/switch/ucs-6100-k9-system.5.2.3.N2.2.22c.bin system compile time: 5/21/2014 15:00:00 [05/22/2014 02:17:46] Hardware cisco UCS 6248 Series Fabric Interconnect ("O2 32X10GE/Modular Universal Platform Supervisor") Intel(R) Xeon(R) CPU with 16553940 kB of memory. Processor Board ID FOC16490BRL Device name: bdsol-624806-B bootflash: 31266648 kB Kernel uptime is 167 day(s), 8 hour(s), 39 minute(s), 21 second(s) Last reset at 925225 usecs after Tue Nov 18 09:09:24 2014 Reason: Reset Requested by CLI command reload System version: 5.0(3)N2(2.11.3d) Service: plugin Core Plugin, Ethernet Plugin, Fc Plugin, Virtualization Plugin
bdsol-6248-06-B(nxos)# show system uptime System start time: Tue Nov 18 09:14:00 2014 System uptime: 167 days, 8 hours, 26 minutes, 36 seconds Kernel uptime: 167 days, 8 hours, 41 minutes, 28 seconds Active supervisor uptime: 167 days, 8 hours, 26 minutes, 36 seconds
To check for cores:
bdsol-6248-06-B# scope system bdsol-6248-06-B /system # top bdsol-6248-06-B# scope monitoring bdsol-6248-06-B /monitoring # scope sysdebug bdsol-6248-06-B /monitoring/sysdebug # show cores
05-04-2015 09:57 AM
Addionially ... your SNMP monitoring can give you that info.
05-04-2015 10:25 AM
Thank you. Exactly what I needed. It does show that my 6248 rebooted on Saturday as I expected with reason:
Kernel uptime is 2 day(s), 11 hour(s), 51 minute(s), 48 second(s)
Last reset at 145054 usecs after Sat May 2 01:29:57 2015
Reason: Reset triggered due to HA policy of Reset
System version: 5.0(3)N2(2.11b)
Service: monitor hap reset
Time to call TAC.
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