How to collect Log from Brocade B-Series Switch

Posted: June 24, 2011 in Misc
Tags: , ,

Got this from one of the EMC Engineer of how to collect Log for Brocade B-Series Switch . I am not a master of Brocade switching but this helps me out .
Goal       How to collect logs from a Brocade B-Series switch from a Windows 2000 host with Hyperterminal or Putty

Goal       How to use Hyperterminal.

Fact       Product: Connectrix All Brocade B-Series switches

Fact       OS: Microsoft Windows 2000

Fact       OS: Microsoft Windows Server 2003

Fact       OS: Microsoft Windows XP

Note       Brocade B-Series: What logs and when to collect them from a Brocade switch, during normal and troubleshooting circumstances. emc93016

Note       Brocade B-Series: How to collect a logs from a Brocade B-Series switch from a UNIX host. emc10350

Fix

For FOS version 4.4.x and above, the supportsave output is required for support issue’s. To collect the supportsave outputs you need to have an ftp service running on a separate host.

For FOS version below 4.4.x, collect the supportshow output.

Supportsave via IP:

  1. Start the program hyperterminal (Start Programs > Accessories > Communications > Hyperterminal).
  2. Make a new connection and pick a name for connection and an icon.
  3. A box appears with title “Connect to”. Change the connect using modem to TCP/IP (Winsock), then enter IP address of Brocade switch. Click OK button.
  4. Login into Brocade switch (default user: admin default password: password).
  5. Run command supportsave. Enter the IP address were the ftp server is running. It will report on the screen that it is collecting the RASLOG, TRACE and SUPPORTSHOW. After command completes.
  6. Type quit and close hyperterminal.

Alternative to Hyperterminal is to use the Free windows Tool PuTTY

  1. Start the standalone Putty application
  2. Select SSH or Telnet as the connection type and put in the IP of the Brocade switch.
  3. Hit connect and you will be presented with a prompt for login, you may have to approve connection if this is your first time connecting.
  4. Login to the Brocade switch using your credentials.
  5. Run command supportsave.  Follow prompts to enter IP o the FTP server.
  6. Exit putty session by typing quit, gather logs from FTP location.

Supportsave via serial cable:

  1. Start the program hyperterminal (Start Programs > Accessories > Communications > Hyperterminal).
  2. Make a new connection and pick a name for connection and an icon.
  3. A box appears with title “Connect to”. Change the connect using com 1 or com 2 (depending were the serial cable is connected to.). Click OK button.
  4. Change the com1 or com2 properties to “default”.
  5. Login into Brocade switch (default user: admin default password: password)
  6. Run command supportsave. Enter the IP address were the ftp server is running. It will report on the screen that it is collecting the RASLOG, TRACE and SUPPORTSHOW. After command completes.
  7. Type quit and close hyperterminal.

Supportshow via IP:

  1. Start the program hyperterminal (Start Programs > Accessories > Communications > Hyperterminal).
  2. Make a new connection and pick a name for connection and an icon.
  3. A box appears with title “Connect to”. Change the connect using modem to TCP/IP (Winsock), then enter IP address of Brocade switch. Click OK button.
  4. Login into Brocade switch (default user: admin default password: password), then start capture text (Transfer > Capture text > File C:\supportshow.txt).
  5. Run command supportshow. After command completes, stop capture text (Transfer > Capture text > Stop).
  6. Type quit and close hyperterminal.

Alternative to Hyperterminal is to use the Free windows Tool PuTTY

  1. Start the standalone Putty application
  2. Select SSH or Telnet as the connection type and put in the IP of the Brocade switch.
  3. On the left hand column, select ‘logging’ and on the right hand side choose ‘all session output’
  4. Name the log file (default is putty.log in the putty.exe directory’
  5. Hit connect and you will be presented with a prompt for login, you may have to approve connection if this is your first time connecting.
  6. Login to the Brocade switch using your credentials.
  7. Run command supportshow, the screen will output all supportshow information and will add it to the log file specified in step 4.
  8. Exit putty session by typing quit, gather log from selected location

Supportshow via serial cable:

  1. Start the program hyperterminal (Start Programs > Accessories > Communications > Hyperterminal).
  2. Make a new connection and pick a name for connection and an icon.
  3. A box appears with title “Connect to”. Change the connect using com 1 or com 2. Click OK button.
  4. Change the com1 properties to “default”.
  5. Login into Brocade switch (default user: admin default password: password), then start capture text (Transfer > Capture text > File C:\supportshow.txt).
  6. Run command supportshow. After command completes, stop capture text (Transfer > Capture text > Stop).
  7. Type quit and close hyperterminal.

Note

PuTTY can be used to collect logs but are not officially supported by or recommended by EMC.

Comments
  1. Javier says:

    Grеɑt site you have heгe.. Ⅰt’ѕ hard to find quality writing like yours nowaԁays.
    I reaⅼly appreciatе individuals liқe you! Take care!!

Leave a reply to Javier Cancel reply