File Transfers

Copying Software Images

 

Copying Software Images

 

Using the CLI commands described in this section, you can copy software

 

images from the switch to another device using tftp, xmodem, or usb.

 

 

N o t e

For details on how switch memory operates, including primary and secondary

 

flash, refer to Chapter 6, “Switch Memory and Configuration”.

 

TFTP: Copying a Software Image to a Remote Host

 

 

Syntax: copy flash tftp < ip-addr> < filename > [oobm]

 

This command copies the primary flash image to a TFTP

 

server.

 

For switches that have a separate out-of-band management

 

port, the oobm parameter specifies that the transfer will be

 

through the out-of-band management interface. If this

 

parameter is not specified, the transfer will be through the data

 

interface. The oobm parameter is not available on switches that

 

do not have a separate out-of-band management port. Refer to

 

Appendix I, “Network Out-of-Band Management” in this guide

 

for more information on out-of-band management.

 

For example, to copy the primary flash to a TFTP server having an IP address

 

of 10.28.227.105:

 

ProCurve# copy flash tftp 10.28.227.105 k0800.swi

 

where k0800.swi is the filename given to the flash image being copied.

 

Xmodem: Copying a Software Image from the Switch to a

 

Serially Connected PC or UNIX Workstation

 

To use this method, the switch must be connected via the serial port to a PC

 

or UNIX workstation.

 

Syntax: copy flash xmodem < pc unix >

 

Uses Xmodem to copy a designated configuration file from the

 

switch to a PC or Unix workstation.
A-28