IBM Support

How to collect logs from Cisco MDS 9000 series switches

Question & Answer


Question

How to collect support logs from Cisco MDS 9000 series switches

Cause

Cisco switch logs are needed when there is an issue with Cisco switch itself or if there are SAN related issues.

Answer

To collect logs from Cisco switches you have two options.  You can download a utility that will collect logs automatically or you can collect the logs manually.
Automatic Log Collection:
Manual Log Collection:
Watch this short video to see the data collection process or review the steps listed after the video:
Configure your telnet or ssh application (example PuTTY) to log the screen output to a text file.

Baseline data collection for all types of problems - these two commands should be run for every problem

Connect to the switch and run these commands:
# term length 0
# show logging onboard
# exit
Save the file and then change the file name and run these commands:
# term length 0 (this command allows the text output to scroll)
# show tech-support details
# exit


In addition to the baseline data, other data might be needed for different issues.
Data for issues with port stability or link problems
Change your screen output file name and run these commands:
# term length 0
#show interface transceiver details
#exit

Data to be collected if the issue is related to performance within the local SAN
Change your screen output file name and run these commands:
# term length 0
#show hardware internal statistics device fabric errors
#exit

Data for long distance FCIP (Fibre Channel over IP) replication issues
# term length 0
# show tech-support fcip
# exit

Collect one show tech-support details per switch and name the file uniquely:
[switchname]_showtech_YYYYMMDD_hhmm.txt
Example: ibmsw_showtech_20160421_1030.txt
ibmsw_showlogging_20160421_1030.txt
ibmsw_hardwareinternal_20160421_1030.txt
ibmsw_transceiver_20160421_1030.txt

Collect logs from all the switches in your fabric one by one or from the switches in question.
Compress all files collected into a single compressed file, such as showtech_20220115_1030.zip.

Upload the file to IBM under your ticket number:

Error counters on a switch are cumulative. It is a good practice to clear the statistics on a switch after collecting logs, then collect another set of logs once the problem happens again, or a few hours later if it is an ongoing problem.

Run these commands to clear the statistics on switch:
#clear counters interface all - this command clears the port counters.
#debug system internal clear-counters all - this command clears the ASIC counters.
#clear ips stats all - this command clears FCIP counters  and is only needed on FCIP enabled switches.

[{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSU6LN","label":"Cisco MDS 9710 Multilayer Director"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Multi-Platform"}],"Version":"All Versions"},{"Line of Business":{"code":"","label":""},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"STTQV4","label":"Cisco MDS 9148S 16G Multilayer Fabric Switch"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSY5QTU","label":"Cisco MDS 9250i Multiservice Fabric Switch"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"","label":""},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"ST5PVM","label":"Cisco MDS 9396S 16G Multilayer Fabric Switch"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSBDGXE","label":"Cisco MDS 9506 Multilayer Director"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"","label":""},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"ST7SML","label":"Storage area network (SAN)-\u003ECisco MDS 9509 Multilayer Director"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STTQ3Y","label":"Cisco MDS 9513 Multiplayer Director"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"","label":""},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"STTQW4","label":"Cisco MDS 9706 Multilayer Director"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSU6LN","label":"Cisco MDS 9710 Multilayer Director"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"ST2GRX","label":"Cisco MDS 9718 Multilayer Director"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSWFW0","label":"IBM Storage Networking SAN16C-R"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQRSJ","label":"IBM Storage Networking SAN96C-6"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQRS3","label":"IBM Storage Networking SAN48C-6"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQQS2","label":"IBM Storage Networking SAN32C-6"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQQSH","label":"IBM Storage Networking SAN50C-R"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STTQSX","label":"IBM Storage Networking SAN192C-6"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STTQL8","label":"IBM Storage Networking SAN384C-6"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"},{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STTQCJ","label":"IBM Storage Networking SAN768C-6"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Type":"MASTER"}]

Document Information

Modified date:
05 August 2024

UID

ssg1S1010000