Saving show tech command output to a text file

When you enter the show tech command, a summary of switch operational data is sent to your terminal emulator. You can use your terminal emulator's text capture features to save the show tech data to a text file for viewing, printing, or sending to an associate to diagnose a problem.

For example, if your terminal emulator is the Hyperterminal application available with Microsoft® Windows® software, you can copy the show tech output to a file and then use either Microsoft Word or Notepad to display the data. (In this case, Microsoft Word provides the data in an easier-to-read format.)

The following example uses the Microsoft Windows terminal emulator. If you are using a different terminal emulator application, see the documentation provided with the application.

Procedure
  1. In Hyperterminal, click on Transfer|Capture Text….
    Figure 50: Capture text window of the Hyperterminal application
  2. In the File field, enter the path and file name in which you want to store the show tech output.
    Figure 51: Entering a path and filename for saving show tech output
  3. Click [Start] to create and open the text file.
  4. From the global configuration context, enter the show tech command:
    switch# show tech

    The show tech command output is copied into the text file and displayed on the terminal emulator screen. When the command output stops and displays -- MORE --, press the Space bar to display and copy more information. The CLI prompt appears when the command output finishes.

  5. Click on Transfer|Capture Text|Stop in HyperTerminal to stop copying data and save the text file.

    If you do not stop HyperTerminal from copying command output into the text file, additional unwanted data can be copied from the HyperTerminal screen.

  6. To access the file, open it in Microsoft Word, Notepad, or a similar text editor.