Description:

Analyzing problems with switches often requires not only the device configuration, but also additional information about the processes in the device. The Tech-Support Log contains various device information (including processor load and running processes) as well as the switch configuration, and thus contains all information relevant for the analysis.

This article describes how to read out the Tech-Support Log on GS-3xxx / XS-3xxx series switches.

Requirements:

  • LCOS SX as of version 4.30 Rel (download latest version)
  • Any browser for access via the web interface
  • SSH client for command-line access (e.g. PuTTY)
  • SCP client for downloading the Tech-Support Log (e.g. PSCP)

Procedure:

Reading out the “Tech-Support Log” via web interface:

1) Connect to the web interface of the switch and navigate to the menu Diagnostics →  Tech-Support.

Invoke the menu Tech-Support

2) Click the Download Tech-Support button and select a location to save the log.

Download the Tech-Support file



Reading out the “Tech-Support Log” via the CLI and downloading via SCP:

1) Reading out the “Tech-Support Log” via the command line:

1.1) Enter the command terminal length 0 so that the subsequent output is displayed without interruptions.

1.2) Enter the command show tech-support.

The output of the command show tech-support is rather exhaustive. Make sure that the settings for the SSH client have a sufficient scrollback buffer (at least 15,000 lines are recommended here). In PuTTY, this is configured in the menu under Window → Lines of scrollback.

Read out the Tech-Support log via the CLI

1.3) Then save the output as a text file.


2) Download the “Tech-Support Log” via SCP (optional):

Rather than outputting the show tech-support manually into a text file, the Tech-Support Log can also be downloaded via SCP.

2.1) Start an instance of the Windows command line and change to the directory where the tool PSCP was saved. If you have installed the PuTTY Utilities with the “Windows Installer”, you can also execute PSCP directly. 

2.2) Enter the command in the format pscp -P 22 -pw <password> -scp <username>@<IP address>:tech-support <file path> to save the Tech-Support Log to the computer.

In this example, the command is pscp -P 22 -pw Password123 -scp admin@192.168.45.35:tech-support C:\Temp\tech-support.txt.

Download the Tech-Support log from the switch via SCP

The parameter -P 22 ensures that port 22 is used for SSH. If you use a different port, adjust it accordingly. The parameter -P must be capitalized.

If you omit the path for the target and only specify the file name (e.g. tech-support.txt) the file is stored in the folder from which PSCP is invoked.