Wired Intelligent Edge

 View Only
Expand all | Collapse all

Copying flash

This thread has been viewed 1 times
  • 1.  Copying flash

    Posted Apr 28, 2008 02:54 PM

    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



  • 2.  RE: Copying flash

    Posted Apr 28, 2008 11:16 PM
    Does the switch that doesn't show TFTP as an option have an IP address assigned?

    Just a guess....

    caseevh


  • 3.  RE: Copying flash

    Posted Apr 29, 2008 11:20 AM
    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.


  • 4.  RE: Copying flash

    Posted Apr 29, 2008 12:19 PM
    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 !!!


  • 5.  RE: Copying flash

    Posted Apr 29, 2008 12:22 PM
    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


  • 6.  RE: Copying flash

    Posted Apr 30, 2008 05:23 AM
    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.


  • 7.  RE: Copying flash

    Posted Apr 30, 2008 09:16 AM
    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 !!!


  • 8.  RE: Copying flash

    Posted Apr 30, 2008 09:26 AM
    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.


  • 9.  RE: Copying flash

    Posted Apr 30, 2008 09:27 AM
    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.


  • 10.  RE: Copying flash

    Posted Aug 22, 2008 02:26 AM
    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...


  • 11.  RE: Copying flash

    Posted Jan 06, 2014 05:39 AM

    Hi,

     

    no ip ssh filetransfer

    tftp server

    tftp client

    Should work.

     

    CKD