Aruba & ProVision-based
1753322 Members
6625 Online
108792 Solutions
New Discussion юеВ

Re: Copying flash

 
DPower
Occasional Advisor

Copying flash

I have a couple of HP 5406zl switches. I'd like to upgrade the flash from a TFTP server but I don't appear to have the option on ONE of the switches. Why would one give me the TFTP option and the other not? I tried the USB port but it fried my usb memory stick. Any ideas?

ProCurve Switch 5406zl# sh flash
Image Size(Bytes) Date Version
----- ---------- -------- -------
Primary Image : 6610294 05/29/07 K.12.16
Secondary Image : 6610294 05/29/07 K.12.16
Boot Rom Version: K.11.03
Current Boot : Primary

ProCurve Switch 5406zl# copy flash
flash Copy to primary/secondary flash.
usb Copy data to a USB flash drive.
xmodem Use xmodem on the terminal as the data destination.
=============================================

P-PROCURVE-WAREHOUSE# copy flash
flash Copy to primary/secondary flash.
tftp Copy data to a TFTP server.
usb Copy data to a USB flash drive.
xmodem Use xmodem on the terminal as the data destination.
P-PROCURVE-WAREHOUSE# sh flash
Image Size(Bytes) Date Version
----- ---------- -------- -------
Primary Image : 6610294 05/29/07 K.12.16
Secondary Image : 6610294 05/29/07 K.12.16
Boot Rom Version: K.11.03
Current Boot : Primary

P.S. This thread has been moved from Switches, Hubs, Modems (Legacy ITRC forum) to  ProCurve / ProVision-Based. -HP Forum Moderator

10 REPLIES 10
Case Van Horsen
Frequent Advisor

Re: Copying flash

Does the switch that doesn't show TFTP as an option have an IP address assigned?

Just a guess....

caseevh
DPower
Occasional Advisor

Re: Copying flash

Yeah we have an IP assigned. I'm going to try to serial/xmodem the new 13_09 flash up. It's painfully slow. I'll update the progress.
Mohieddin Kharnoub
Honored Contributor

Re: Copying flash

Hi

Use the Command :

SW(config)#copy tftp flash a.b.c.d filename.swi primary

Where:
a.b.c.d is your TFTP server.
filename is the flash file name that you downloaded from ProCurve Web site.

If you want to copy to the Secondary image then use the option: Secondary
Then boot from the secondary image file by using the command:

Sw(config)#boot system flash secondary

Good Luck !!!
Science for Everyone
DPower
Occasional Advisor

Re: Copying flash

TFTP isn't an option on the switch. That's the problem. The warehouse switch has COPY FLASH TFTP and the other does not. It's all rather confusing. Here's the output from the switch without TFTP as an option.


ProCurve Switch 5406zl# copy flash tftp
Invalid input: tftp
Richard Brodie_1
Honored Contributor

Re: Copying flash

I think what Mohieddin means is that you have the source and destination the wrong way round. "copy flash tftp" would make a backup of your flash rom.

If you still have a problem with the command the right way round, I would start with bringing up the two configs side by side and comparing them "show running-config". Maybe one of the switches has a security hardened config and has tftp disabled.
Mohieddin Kharnoub
Honored Contributor

Re: Copying flash

Hi

Thenks Richard for explaining.

I just want to add one Comment here :

You can't Copy from Flash to TFTP , it doesn't make any sense anyway, thats why the switch got confused :)

The command is to copy from TFTP to Flash.

Good Luck !!!
Science for Everyone
DPower
Occasional Advisor

Re: Copying flash

Look guys... I cut and pasted the command from the good working switch. You can indeed copy a running flash to a TFTP server for backup purposes. In fact I did it from the P-PROCURVE-WAREHOUSE.

I was doing this to backup the running 12.16 flash before I upgraded it to 13_09 flash.

Here's the result...
P-PROCURVE-WAREHOUSE# copy flash tftp 10.1.1.165 old_flash
08789K

Problem is fixed now. Thanks.
StevePMiller
Occasional Contributor

Re: Copying flash

I'm having the same problem. So far I have found that I need to go into config mode and do the "tftp client" command, but when I do it says I have to disable sftp first. Haven't been able to find out how to do that though.
Stefan W
Occasional Advisor

Re: Copying flash

Hi,

the problem is that you have tftp disabled. If you browse through your running-config you will see two lines

no tftp server
no tftp client

therefore the only way to upload a new image is through xmodem. You have a

ip ssh filetransfer

in your running-config as well.You must disable; eg no ip ssh filetransfer, before you can enable tftp.

Now here is a twitch... with a SSH client like putty or SSH Secure Shell you can do a Secure Copy or filetransfer without having to tamper with your configuration and obtain the same result...

Good luck...