Management and Configuration Guide K/KA/KB.15.15

Copying software images
Copying a software image to a remote host in TRTP
Syntax
copy flash tftp ip-addr filename [oobm]
Copies the primary flash image to a TFTP server.
For switches that have a separate OOBM port, the oobm parameter specifies that the transfer is
through the OOBM interface. If this parameter is not specified, the transfer is through the data
interface.
The oobm parameter is not available on switches that do not have a separate OOBM port.
Example
To copy the primary flash to a TFTP server having an IP address of 10.28.227.105:
HP Switch# copy flash tftp 10.28.227.105 k0800.swi
where k0800.swi is the filename given to the flash image being copied.
Copying using Xmodem
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.
Example
To copy the primary flash image to a serially connected PC:
1. Execute the following command:
HP Switch# copy xmodem flash
Press 'Enter' and start XMODEM on your host...
2. After you see the above prompt, press [Enter].
3. Execute the terminal emulator commands to begin the file transfer.
Copying using USB
To use this method, a USB flash memory device must be connected to the switch's USB port.
Syntax
copy flash usb filename
Uses the USB port to copy the primary flash image from the switch to a USB flash memory device.
Example
To copy the primary image to a USB flash drive:
1. Insert a USB device into the switch's USB port.
2. Execute the following command:
HP Switch# copy flash usb k0800.swi
where k0800.swi is the name given to the primary flash image that is copied from the switch
to the USB device.
278 File transfers