Copying diagnostic data to a remote host, PC or UNIX workstation
You can use the CLI to copy the following types of switch data to a text file in a destination device:
Command output | Sends the output of a switch CLI command as a file on the destination device. |
Event log | Copies the switch's Event Log into a file on the destination device. |
Crash data | Software-specific data useful for determining the reason for a system crash. |
Crash log | Processor-specific operating data useful for determining the reason for a system crash. |
Flight data recorder (FDR) logs | Information that is “interesting” at the time of the crash, as well as when the switch is not performing correctly but has not crashed. |
The destination device and copy method options are as follows (CLI keyword is in bold):
Remote Host via
TFTP
.Serially connected PC or UNIX workstation via Xmodem.
Copying command output to a destination device (CLI)
Syntax:
copy command-output <"
cli-command
"> tftp <ip-address
> <filepath-filename
>
copy command-output <"
cli-command
"> xmodemThese commands direct the displayed output of a CLI command to a remote host, or to a serially connected PC or UNIX workstation.
Example:
To use Xmodem to copy the output of
show config
to a serially connected PC:
NOTE: The command you specify must be enclosed in double quotation marks. | |
Copying Event Log output to a destination device (CLI)
Syntax:
copy event-log tftp <
ip-address
> <filepath_filename
>
copy event-log xmodem <
filename
>These commands copy the Event Log content to a remote host, or to a serially connected PC or UNIX workstation.