A-16
File Transfers
Copying Diagnostic Data to a Remote Host , PC, or Unix Workstation
File Transfers
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 management device:
Command Output: Sends the output of a switch CLI co mmand as a file on
the destination device.
Event Log: Copies the switchs Event Log into a file on the destination
device.
Crash Data: OS-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.

Copying Command Output to a Destination Device

This command directs the displayed output of a CLI command to a file in a
destination device.
Syntax: copy command-output <"cli-command"> tftp <ip-address>
<filepath-filename>
copy command-output <"cli-command"> xmodem
For example, to use Xmodem to copy the output of show config to a serially
connected PC:
Figure A-7. Example of Sending Command Output to a File on an Attached PC
Note that the command you specify must be enclosed in double-quote marks.
At this point, press
[Enter] and start the
Xmodem command
sequence in your
terminal emulator.
Indicates the operation is finished.