Output show tech to file




















The only thing that you will still have to do is pull the file via FTP or so. Well, if you rely on any of the remote copy commands and you lose your connection, you might be running this command again.

Easier to save it locally then pull it from there in my opinion. So, lets save it to the bootflash. 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. If you do not stop HyperTerminal from copying command output into the text file, additional unwanted data can be copied from the HyperTerminal screen. The show tech command shows sample output from the show tech command.

To specify the data displayed by the show tech command, use the copy show tech command as described in Customizing show tech command output. 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.

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. In the File field, enter the path and file name in which you want to store the show tech output, as shown in Entering a path and filename for saving show tech output.

Click [Start] to create and open the text file. From the global configuration context, enter the show tech command:. 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. If you do not stop HyperTerminal from copying command output into the text file, additional unwanted data can be copied from the HyperTerminal screen.

To access the file, open it in Microsoft Word, Notepad, or a similar text editor. Use the copy show tech command to customize the detailed switch information displayed with the show tech command to suit your troubleshooting needs. To customize the information displayed with the show tech command:. Determine the information that you want to gather to troubleshoot a problem in switch operation.

Enter the copy show tech command to specify the data files that contain the information you want to view. Specifies the operational and configuration data from one or more source files to be displayed by the show tech command. Enter the command once for each data file that you want to include in the display. Includes the output of a specified command in show-tech command output.

Enter the command name between double-quotation marks, For example, copy "show system" show-tech. Includes the crash data from all management and interface modules in show tech command output. To limit the amount of crash data displayed, specify an installed module or management modules, where:. Valid slot IDs are the letters a through h. Includes the crash logs from all management and interface modules in show tech command output. To limit the amount of crash-log data displayed, specify an installed module or management modules, where:.



0コメント

  • 1000 / 1000