
File Transfers
Copying Diagnostic Data to a Remote Host, PC, or UNIX Workstation
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 file in a destination device.
For example, to use Xmodem to copy the output of show config to a serially
connected PC:
At this point, press
[Enter] and start the
Xmodem command
sequence in your
terminal emulator.
Indicates the operation is finished.
Figure A-8. 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.
Copying Event Log Output to a Destination Device
Syntax: copy event-log tftp < ip-address > < filepath_filename >
copy event-log xmodem
These commands use TFTP or Xmodem to copy the Event Log
content to a PC or UNIX workstation on the network.
For example, to copy the event log to a PC connected to the switch:
At this point, press
[Enter] and start the
Xmodem command
sequence in your
terminal emulator.
Figure A-9. Example of Sending Event Log Content to a File on an Attached PC
A-25
Komentarze do niniejszej Instrukcji