You are on page 1of 2

How to collect a supportsave from a Brocade

switch
Description

When it is required to troubleshoot a Brocade switch, it will be useful to collect


the supportsave output from the switch.

A supportsave from a Brocade switch needs to connect to an FTP, SFTP, or SCP host
to upload the logs to. If the user does not have an FTP server setup, it requires to be
set up depending on the user's operating system. Create a folder in the FTP server for
the output logs, that is,brocade_logs.

Procedure

Perform the following steps:

1. Once an FTP server with the named folder has been created, log in to the
Brocade switch and run the supportsave command:
switch> supportsave

This command will collect RASLOG, TRACE, supportShow, core file, FFDC
data, and other support information from both active and standby CPs, and then
transfer them to the FTP/SCP/SFTP server or a USB device. This operation can
take several minutes.

Note: The supportsave will transfer the existing trace dump file first, then
automatically generate and transfer the latest one. There will be two trace dump
files transferred after running this command.

2. At the command prompt, type y to proceed:


OK to proceed? (yes, y, no, n): [no] y

3. Enter the IP address or host name of the FTP server:


Host IP or Host Name: <IP address>

4. Enter the credentials for FTP:


User Name: <username>
Password: <password>

5. Specify the transfer protocol, in this case ftp or sftp:


Protocol (ftp | scp | sftp): ftp

6. Enter the name of the directory you created on the FTP root:
Remote Directory: <directory name>

7. Press Enter, the output files will be sent to the destination:


Saving support information for switch:brocade200e-rtp, module:RAS...

.........

Saving support information for switch:brocade200e-rtp,


module:TRACE_OLD...

Saving support information for switch:brocade200e-rtp,


module:TRACE_NEW...

Saving support information for switch:brocade200e-rtp, module:FABRIC...

....

Note: If a Windows host is not available to FTP, a UNIX host can be used as
well. The easiest method is by using SCP. Verify that SCP is installed on the host, and
a directory has been created on the root volume of the host. Next, perform the same
steps as above, this time using the username and password of the UNIX host,
specifying SCP for the protocol, and specifying the name of the directory created to
collect the logs. After collecting the logs, the user can zip the directory.

Send the output of switch> supportsave from all the switches involved in the issue. If
the issue can be reproduced, it is preferable to run a supportsave before and
immediately after the issue is reproduced.