Copying command output to a destination device – HP 2910AL User Manual

Page 447

Advertising
background image

File Transfers

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

Copying Diagnostic Data to a Remote
Host, USB Device, 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.

Physically connected USB flash drive via the switch’s

USB port.

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” > usb < filename >

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

These commands direct the displayed output of a CLI
command to a remote host, attached USB device, 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-35

Advertising