IBM Support

How to collect a supportsave from a Brocade switch

Question & Answer


Question

How do you collect a supportsave from a Brocade switch?

Cause

A Brocade switch supportsave is needed by IBM support to look into  issues related to SAN.

Answer

 
To collect logs from Broadcom 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:
 
Manually collecting supportsaves from the switch CLI requires that you have an internal FTP/SFTP or SCP server in your network.    This document includes both a short video that shows the process, and written instructions.
 
 
 

1. Log on to the switch as admin using telnet or ssh.
2. At the command prompt type: supportsave
3. You are prompted as:
     a) the IP address of your FTP server.
     b) the user name/password for your FTP server.
     c) to select a protocol : FTP
    d) the remote directory on FTP server.

4. The files generated by this command are compressed before being sent off the switch. You can then compress these files together before sending to IBM Support.

Example:
IBM_2498_B40:FID128:admin> supportsave
This command collects RASLOG, TRACE, supportShow, core file, FFDC data
and then transfer them to a FTP/SCP/SFTP server or a USB device.
This operation can take several minutes.
NOTE: supportsave will transfer existing trace dump file first, then automatically generate and transfer latest one. There will be two trace dump files transferred after this command.
OK to proceed? (yes, y, no, n): [no] y

Host IP or hostname : 192.168.1.2
Username: user1
Password:
Protocol (ftp | scp | sftp): ftp
Remote Directory: /tmp/switch

Saving support information for switch:IBM_2498_B40, module: RAS...
..................................
Saving support information for switch:IBM_2498_B40, module: CTRACE_OLD...
Saving support information for switch:IBM_2498_B40, module: CTRACE_NEW...
Saving support information for switch:IBM_2498_B40, module: FABRIC...
.
.
.
.
Saving support information for switch:IBM_2498_B40, module: RAS_POST...
........

SupportSave completed.
IBM_2498_B40:FID128:admin>

Now log on to the ftp server and zip/tar the file together before uploading to IBM.
Give the resulting file a meaningful name, such as CaseNumber_SwitchName_Date_Description.zip
 
Example, on an AIX FTP server:
 
#cd /tmp/switch
#ls
IBM_2498_B40-S0cp-201410101405.AGDUMP.txt.ss.gz
IBM_2498_B40-S0cp-201410101405.AGWWNS.ss.gz
.
.
.
IBM_2498_B40-S0cp-201410101409.VFABRIC.txt.ss.gz
IBM_2498_B40-S0cp-201410101409.archived_log.tgz.ss.gz

#tar cvf - . | gzip -c > IBM_2498_B40_SS.tgz
# ls -l *.tgz
-rw-r--r-- 1 root system 8241882 Oct 10 10:37 IBM_2498_B40_SS.tgz

 
 
Clearing Port Statistics:
Port error counters on switch ports are cumulative. Clear the port statistics on switch after the supportsave collection. This way we have a good baseline to investigate an ongoing issue. Using the graphical interface doesn't clear the internal ASIC stats so the command-line option must be used. After clearing the stats,  wait 1-3 hours or for a reoccurrence of the issue before you collect a second set of data from the switches.
 
1. If the FOS version is v7.3 or greater use the command
    #supportinfoclear --clear
 
2. For FOS  versions that are less than than v7.3 use the commands
 
     2.1 switch without logical switch (VF)
      #statsclear
      #slotstatsclear
 
     2.2 with logical switch (VF)
     #fosexec -fid all -cmd "statsclear, slotstatsclear"
  
 

Once the data collection is completed, please upload it to Ecurep. If you're a Blue Diamond customer refer to the Blue Diamond upload instructions.

[{"Product":{"code":"STQPPK","label":"IBM Storage Networking SAN512B-6"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Product":{"code":"STNNL8","label":"IBM Storage Networking SAN24B-5"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Product":{"code":"STMSBR","label":"SAN384B-2 Fabric Backbone (2499-416)"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"STMSCJ","label":"SAN48B-5 Switch (2498-F48)"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"STMSAD","label":"SAN768B-2 Fabric Backbone (2499-816)"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"STNNAB","label":"SAN96B-5 Switch (2498-F96-N96)"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"STUQVR","label":"IBM Storage Networking SAN32B-E4"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Product":{"code":"STMN38","label":"SAN42B-R (2498-R42)"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"STMKQC","label":"SAN768B Fabric Backbone (2499-384)"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"STMKPN","label":"SAN384B Fabric Backbone (2499-192)"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Type":"MASTER","Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQPPK","label":"IBM Storage Networking SAN512B"},"ARM Category":[],"ARM Case Number":[],"Platform":[{"code":"PF025","label":"Platform Independent"}]},{"Type":"MASTER","Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQPLH","label":"IBM Storage Networking SAN256B"},"ARM Category":[],"ARM Case Number":[],"Platform":[{"code":"PF025","label":"Platform Independent"}]},{"Type":"MASTER","Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQPJB","label":"IBM Storage Networking SAN64B"},"ARM Category":[],"ARM Case Number":[],"Platform":[{"code":"PF025","label":"Platform Independent"}]},{"Type":"MASTER","Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQPQQ","label":"IBM System Networking SAN128B-6"},"ARM Category":[],"ARM Case Number":[],"Platform":[{"code":"PF025","label":"Platform Independent"}]},{"Type":"MASTER","Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQPJB","label":"IBM System Networking SAN64B-6"},"ARM Category":[],"ARM Case Number":[],"Platform":[{"code":"PF025","label":"Platform Independent"}]},{"Type":"MASTER","Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STQPPB","label":"IBM Storage Networking SAN18B-6"},"ARM Category":[],"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":"STQPQQ","label":"SAN128B-6 Switch (8960-F96-N96)"},"ARM Category":[],"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":"STNNL8","label":"IBM Storage Networking SAN24B"},"ARM Category":[],"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":"STQPJB","label":"SAN64B-6 Switch (8960-F64-N64)"},"ARM Category":[],"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":"STQPLH","label":"IBM Storage Networking SAN256B-6 (8961-F04)"},"ARM Category":[{"code":"a8m0z000000bqOdAAI","label":"Brocade IBM B-Type-\u003EProblems-\u003ETroubleshooting"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"","label":""},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"STMKTF","label":"SAN06B-R (2498-R06)"},"ARM Category":[],"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":"STNNL8","label":"IBM Storage Networking SAN24B"},"ARM Category":[],"ARM Case Number":[],"Platform":[{"code":"PF025","label":"Platform Independent"}]}]

Document Information

Modified date:
11 November 2025

UID

ssg1S1004936