Customizing show tech command output

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:

Procedure
  1. Determine the information that you want to gather to troubleshoot a problem in switch operation.
  2. Enter the copy show tech command to specify the data files that contain the information you want to view.

Syntax:


copy <source> show-tech

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.

Default: Displays data from all source files, where <source> can be any one of the following values:

command-output "<command>"

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.

crash-data [slot-id | master]

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:
  • slot-id: Includes the crash data from an installed module. Valid slot IDs are the letters a through h.
  • master: Includes the crash data from both management modules.
crash-log [slot-id | master]

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:

slot-id: Includes the crash log from an installed module. Valid slot IDs are the letters a through h.

master: Includes the crash log from both management modules.

event-log

Copies the contents of the Event Log to show tech command output.

running-config

Includes the contents of the running configuration file in show tech command output

startup-config

Includes the contents of the startup configuration file in show tech command output.

tftp config {<startup-config | running-config} <ip-addr> <remote-file> {<pc | unix>}

Downloads the contents of a configuration file from a remote host to show tech command output, where:

<ip-addr>: Specifies the IP address of the remote host device.

<remote-file>: Specifies the pathname on the remote host for the configuration file whose contents you want to include in the command output.

pc|unix : Specifies whether the remote host is a DOS-based PC or UNIX workstation.

usb config {<startup-config < filename > | command-file < acl-filename.txt >}

Copies the contents of a configuration file or ACL command file from a USB flash drive to show tech command output, where:

startup-config <filename>: Specifies the name of a startup configuration file on the USB drive.

command-file <acl-filename.txt> : Specifies the name of an ACL command file on the USB drive.

xmodem config {<startup-config | config < filename > | command-file < acl-filename.txt >} {<pc | unix>}

Copies the contents of a configuration file or ACL command file from a serially connected PC or UNIX workstation to show tech command output, where:

startup-config: Specifies the name of the startup configuration file on the connected device.

config <filename>: Specifies the pathname of a configuration file on the connected device.

command-file <acl-filename.txt>: Specifies the pathname of an ACL command file on the connected device.

pc|unix: Specifies whether the connected device is a DOS-based PC or UNIX workstation.