File Transfers

Copying Diagnostic Data to a Remote Host, PC or UNIX Workstation

Copying Diagnostic Data to a RemoteHost, 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.

The destination device and copy method options are as follows (CLI key word is in bold):

Remote Host via TFTP.

Serially connected PC or UNIX workstation via Xmodem.

Copying Command Output to a Destination Device

Syntax: copy command-output < cli-command > tftp < ip-address> < filepath­ filename >

copy command-output <“cli-command”> xmodem

These commands direct the displayed output of a CLI command to a remote host or to a serially connected PC or UNIX workstation.

For example, to use Xmodem to copy the output of show config to a serially connected PC:

A-28