IBM Support

How to select and download a Cisco switch core file

Question & Answer


Question

How to select and download a Cisco switch core file

Cause

How to select and download a Cisco switch core file

Answer

A Cisco switch has recently suffered an issue which generated a core file and the core file is needed for troubleshooting purposes. Here is an example of how to identify the correct file to be downloaded for support as well as how to download.

In this example, a supervisor module experienced a problem which caused a software crash and generated a core file. From the error log, the key entries have messages similar to the following.


SERVICE_CRASHED Service "module" (PID 3513) hasn't caught signal 6 (core will be saved).
SW_CRASH module in slot 7 crashed with crash type : stateful crash

To verify that a core file was created, use the show cores command.

show cores
Module Instance Process-name PID Date(Year-Month-Day Time)
------ -------- --------------- -------- -------------------------
7 1 module 3513 YYYY-MM-DD HH:MM:SS

In this case, there is a core file from the "module" process" and it was running under the Process ID of 3513 at the time the core file was created as seen from the error message. This is the file that needs to be downloaded and provided to IBM/Cisco support.

The easiest and quickest method to get the core file is to use the copy command and specify the slot number and the PID which created the core file. The command would appear as the following to off-load a copy of the core file. This command is issued on the switch using the command line interface (CLI).

copy core://<slot #>/<PID> ftp://<FTP IP addr>/<directory>/<filename>

Just use the IP address of a FTP server and specify the location and file name of the core file to be uploaded. Continuing with the above example, the command would appear similar to the following.

copy core://7/3513 ftp://10.10.1.101/downloads>/module_core

After this file is copied off the switch, it should be sent to IBM support for further analysis and review by IBM and/or Cisco support.

[{"Product":{"code":"SSU6LN","label":"Cisco MDS 9710 Multilayer Director"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Not Applicable","Platform":[{"code":"","label":"N\/A"}],"Version":"All Versions","Edition":"N\/A","Line of Business":{"code":"LOB26","label":"Storage"}},{"Product":{"code":"ST6VQW","label":"Storage area network (SAN)-\u003ECisco MDS 9124 Fabric Switch"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"STTQV4","label":"Cisco MDS 9148S 16G Multilayer Fabric Switch"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSY5QTU","label":"Cisco MDS 9250i Multiservice Fabric Switch"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Product":{"code":"ST5PVM","label":"Cisco MDS 9396S 16G Multilayer Fabric Switch"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSBDGXE","label":"Cisco MDS 9506 Multilayer Director"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Product":{"code":"ST7SML","label":"Storage area network (SAN)-\u003ECisco MDS 9509 Multilayer Director"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"STTQ3Y","label":"Cisco MDS 9513 Multiplayer Director"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Product":{"code":"STTQW4","label":"Cisco MDS 9706 Multilayer Director"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"ST2GRX","label":"Cisco MDS 9718 Multilayer Director"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 April 2022

UID

ssg1S1010093