|
|
|
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:
-
Execute the following command:
HP Switch# copy xmodem flash
Press 'Enter' and start XMODEM on your host...
-
After you see the above prompt, press [Enter].
-
Execute the terminal emulator commands to begin the file transfer.
USB: Copying a software image to a USB device (CLI)
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:
-
Insert a USB device into the switch's USB port.
-
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.