Brocade Switch Logs via CLI
Be aware that network and/or host firewall rules need to be adjusted to allow ftp (tcp/20, tcp/21), scp/sftp (tcp/22) connection to be established from the direction of the switch towards the host where the files are to be stored. The switch supportsave data collection is a push-process from the switch to the host. If these are not opened the supportsave process will timeout and report "SupportSave Operation Failed. Reason : 256 Remote Host:Could not connect to remote host."
Some hosts may have limitations imposed on the number of simultaneous and/or sequential login attempts. Ensure these restrictions are removed as well. The supportsave process establishes a new connection for each file it uploads. Although normally the switch closes the connection immediately after the file is uploaded some ftp servers are known to hold on to the session information for some time and therefore may limit new sockets to be opened. That will also result in a failure of the supportsave process.
- Log into the switch via Telnet/SSH
- Collect a supportsave (10-20 minutes)
- After logs are collected, clear stats to create a baseline for port statistics in case additional data is needed. (details below)
- Submit the 'statsclear' command
- Submit the 'slotstatsclear' command
- If FCIP is involved, submit the 'portshow fciptunnel -c --tcp --reset' command
To collect a supportsave execute one of the the following commands (examples use SCP transfer protocol):
Supportsave using interactive mode
7800_L: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] yes
Host IP or Host Name: xxx.xxx.xxx.xxx
User Name: name
Password:
Protocol (ftp | scp | sftp): scp
Remote Directory: /home/name/supportsave
Do you want to continue with CRA (Y/N) [N]:
Saving support information for switch:7800_L, module:RAS...
Supportsave using specified user, password, host, remote directory, transfer protocol
7800_L:admin> supportsave -u name -p password -h xxx.xxx.xxx.xxx -d /home/name/supportsave -l scp
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] yes
Saving support information for switch:7800_L, module:RAS...
Supportsave using configured information from supportftp command
7800_L:admin> supportftp
Host IP Addr:
User name:
Remote Dir:
Auto Upload protocol: ftp
Auto-FTP: Off
EGSC_7800_L:admin> supportftp -s -h xxx.xxx.xxx.xxx -u name -p password -d /home/name/supportsave -l scp
supportftp: parameters changed
EGSC_7800_L:admin> supportftp
Host IP Addr: xxx.xxx.xxx.xxx
User name: name
Remote Dir: /home/name/supportsave
Auto Upload protocol: scp
Auto-FTP: Off
7800_L:admin> supportsave -c
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] yes
Saving support information for switch:7800_L, module:RAS...
Where "xxx.xxx.xxx.xxx" is the IP address of the host where the files need to be transferred to and "<directory>" the location on that host. This needs to be a writable and empty directory.
5. Once collected please compress any individual *.gz files into a single .zip, .tgz, or .tar file for each switch data was collected from.
6. Upload the compressed switch supportsave to How to Upload Files to TUF
SupportShow Data Collection
***Please note that SupportShow Data Collection only provides limited information for our Global Support Center. It is highly recommended that a Supportsave be uploaded to your case immediately to help expedite your requests***
This is a non-disruptive procedure and can be performed by the CE or the customer.
You can use your favorite terminal emulation utility. Refer to the respective documentation for how to turn on capturing output to a file.
Telnet or SSH
- Telnet or SSH into Brocade switch
- Enter username and password
- Start logging to file on the Telnet session.
NOTE: For Windows standard telnet, this is under the terminal pulldown menu. - Enter command: supportShow
- Upload the telnet log to How to Upload Files to TUF