copy

OVERVIEW

Category:

Primary context:

manager

Related Commands

Usage: copy <source> <destination> [options]

Description: Copy datafiles to/from the switch.

<source> - specify source of data. It can be 'tftp', 'xmodem', 'command', 'flash', 'usb' or any of the following switch data files:

oconfig

orunning-config

ostartup-config

ocrash-log [abcdefghmaster]

ocrash-data

oevent-log

ocommand-output <command>

Note: When using 'command-output', place the desired CLI command in double-quotes. i.e. "show system".

<destination> - specify the copy target. It can be also 'tftp', 'xmodem', 'usb' or one of the following switch data files:

ostartup-config

ocommand-file

oflash

oshow-tech

oconfig

opub-key-file

oautorun-key-file

oautorun-cert-file

[options] -

options are:

 

o IPv4 address - TFTP server IPv4 address.

 

 

Required for TFTP transfers.

o IPv6 address - TFTP server IPv6 address.

o append

Required for TFTP transfers.

- Add the key(s) for operator access.

o manager

- Replace the key(s) for manager access; follow

o operator

with the 'append' option to add the key(s).

- Replace the key(s) for operator access

 

 

(default); follow with the 'append' option to

o filename

add the key(s).

- File-name to upload/download.

o unix

Required for TFTP & USB transfers.

 

o pc

 

COMMAND STRUCTURE

copy command-output-- Specify a CLI command to copy output of. (ASCII-STR) (p. 106) tftp -- Copy data to a TFTP server. (p. 124)

© 2009 Hewlett-Packard Development Company, L.P.

96