Copying software images


[NOTE: ]

NOTE: For details on how switch memory operates, including primary and secondary flash, see “Switch Memory and Configuration” in the Basic Operation Guide for your switch.


TFTP: Copying a software image to a remote host (CLI)

Syntax:

copy flash tftp <ip-addr> <filename>

Copies the primary flash image to a TFTP server.

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.

Xmodem: Copying a software image from the switch to a serially connected PC or UNIX workstation (CLI)

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.