Copying command output to a destination device – IronPort Systems 4108GL User Manual

Page 458

Advertising
background image

A-16

File Transfers
Copying Diagnostic Data to a Remote Host, PC, or Unix Workstation

Fil

e

T

ran

sf

e

rs

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 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: 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.

Advertising