Comware

 View Only
last person joined: 21 hours ago 

Expand all | Collapse all

Howto firmwareupdate a comware switch

This thread has been viewed 5 times
  • 1.  Howto firmwareupdate a comware switch

    Posted May 10, 2017 08:46 AM

    Been doing lots of procurve updates... but I am a bit confused about the comware switches in many ways. Right now I am focused on how to upgrade the switch - and I do not understand the difference in ipe og bin.

    I found this:
    https://www.youtube.com/watch?v=AIc88CEnpks

    But when I am downloading 5130EI_7.10.R3115P08.zip (which I take a latest firmware), there are only one bin (5130ei-cmw710-packet-capture-r3115p08.bin) and then there is a ipe (5130EI-CMW710-R3115P08.ipe). It looks as the format on my switch is different than on the switch on the Youtube video.

    On my switch, "display version" gives me:

    HPE Comware Software, Version 7.1.045, Release 3111P02
    Copyright (c) 2010-2015 Hewlett Packard Enterprise Development LP
    HPE 5130-48G-4SFP+ EI Switch uptime is 66 weeks, 5 days, 3 hours, 34 minutes
    Last reboot reason : USER reboot

    Boot image: flash:/5130ei-cmw710-boot-r3111p02.bin
    Boot image version: 7.1.045, Release 3111P02
    Compiled Dec 21 2015 16:00:00
    System image: flash:/5130ei-cmw710-system-r3111p02.bin
    System image version: 7.1.045, Release 3111P02
    Compiled Dec 21 2015 16:00:00


    Slot 1:
    Uptime is 66 weeks,5 days,3 hours,34 minutes
    HPE 5130-48G-4SFP+ EI JG934A with 1 Processor
    BOARD TYPE: 5130-48G-4SFP+ EI
    DRAM: 1024M bytes
    FLASH: 512M bytes
    PCB 1 Version: VER.B
    Bootrom Version: 142
    CPLD 1 Version: 002
    Release Version: HPE 5130-48G-4SFP+ EI JG934A-3111P02
    Patch Version : None
    Reboot Cause : UserReboot
    [SubSlot 0] 48GE+4SFP Plus

    "Display irf" gives me:

    MemberID Role Priority CPU-Mac Description
    *+1 Master 1 xxx ---
    --------------------------------------------------
    * indicates the device is the master.
    + indicates the device through which the user logs in.

    The bridge MAC of the IRF is: xxx
    Auto upgrade : yes
    Mac persistent : 6 min
    Domain ID : 0

    "dir" gives me:

    Directory of flash:
    0 -rw- 8928256 Aug 08 2008 20:00:00 5130ei-cmw710-boot-r3109p05.bin
    1 -rw- 9259008 Jan 02 2013 20:43:43 5130ei-cmw710-boot-r3111p02.bin
    2 -rw- 60402688 Aug 08 2008 20:00:00 5130ei-cmw710-system-r3109p05.bin
    3 -rw- 61990912 Jan 02 2013 20:44:23 5130ei-cmw710-system-r3111p02.bin
    4 drw- - Jan 01 2013 00:00:36 diagfile
    5 -rw- 735 Jan 19 2013 23:50:51 hostkey
    6 -rw- 1687 Apr 05 2014 22:12:34 ifindex.dat
    7 drw- - Jan 01 2013 00:00:39 license
    8 drw- - Jan 02 2013 00:00:30 logfile
    9 drw- - Jan 01 2013 00:17:31 pki
    10 drw- - Jan 01 2013 00:00:36 seclog
    11 -rw- 591 Jan 19 2013 23:50:51 serverkey
    12 -rw- 8641 Apr 05 2014 22:12:35 startup.cfg
    13 -rw- 136994 Apr 05 2014 22:12:35 startup.mdb
    14 drw- - Jan 02 2013 20:47:08 versionInfo

    524288 KB total (375132 KB free)

    I would prefer to update via ssh and tftp. What is the correct approach in my case?

    Thanks, Lars.


    #firmwareupdate


  • 2.  RE: Howto firmwareupdate a comware switch

    Posted May 10, 2017 09:14 AM

    Hello

    You need to download the ipe file, this contains your bin files.

    If you are using a tftp server use following command in your switch:

    tftp <ipaddress> get <full .ipe file name>

    this will donwload the file in the switch his flash,.

    After that extract the file like this: 

    boot-loader file flash:/<the .ipe file name> slot all main

    After this you will see that the bin files will be extracted, and after a reboot you should be good to go.

    You can check before the reboot, if the correct file as been installed when you do:

    Display boot-loader

     

    Kind regards



  • 3.  RE: Howto firmwareupdate a comware switch

    Posted May 10, 2017 09:16 AM

    That seems extreemly easy... I will try it tomorrow, thanks...

    Regards, Lars.



  • 4.  RE: Howto firmwareupdate a comware switch

    Posted May 11, 2017 06:40 AM

    I worked great except I could not use "all" so I used "1" instead.

    Now a dir looks like this:

    Directory of flash:
    0 -rw- 8928256 Aug 08 2008 20:00:00 5130ei-cmw710-boot-r3109p05.bin
    1 -rw- 9259008 Jan 02 2013 20:43:43 5130ei-cmw710-boot-r3111p02.bin
    2 -rw- 60402688 Aug 08 2008 20:00:00 5130ei-cmw710-system-r3109p05.bin
    3 -rw- 61990912 Jan 02 2013 20:44:23 5130ei-cmw710-system-r3111p02.bin
    4 drw- - Jan 01 2013 00:00:36 diagfile
    5 -rw- 735 Jan 19 2013 23:50:51 hostkey
    6 -rw- 1687 Apr 05 2014 22:12:34 ifindex.dat
    7 drw- - Jan 01 2013 00:00:39 license
    8 drw- - Jan 02 2013 00:00:30 logfile
    9 drw- - Jan 01 2013 00:17:31 pki
    10 drw- - Jan 01 2013 00:00:36 seclog
    11 -rw- 591 Jan 19 2013 23:50:51 serverkey
    12 -rw- 8641 Apr 05 2014 22:12:35 startup.cfg
    13 -rw- 136994 Apr 05 2014 22:12:35 startup.mdb
    14 drw- - Jan 02 2013 20:47:08 versionInfo

    524288 KB total (375132 KB free)

    Can I delete the old bins?

    Thanks, Lars.



  • 5.  RE: Howto firmwareupdate a comware switch

    Posted May 12, 2017 04:40 AM

    Hello

    Yes, the number 1 is your slot number, if you would have more then 1 switch in a stack, you could use all.

    If you don't want them in your flash anymore you can use following command:

    delete /unreserved flash:/<file name>

    Kind regards