Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

5120 EI upgrade via IMC problems

dotreph
Occasional Visitor

5120 EI upgrade via IMC problems

Hello, 

 

I'm trying to upgrade a 5120 EI from version 2215 to 2220p02 by using IMC 5.2

I have done 2 tests.

Upgrading the switches with the same software without using IMC works. So the bin file could not be the problem.

 

 

With irf (2 members):

 

Upgrade seems to work for IMC but errors reporting on the console:

%Jun 19 14:31:04:448 2013 e98-1 DEVM/5/LOAD_FINISHED: Board has finished loading file on Chassis 0 Slot 2.
%Jun 19 14:31:58:778 2013 e98-1 MEM/4/WARNING: -Slot=2;
ALERT: memory exhausted!! GATE1 detected!
Total:70235600 bytes
Free:4192700 bytes

 

Standalone:

Error reporting in IMC: "The device cannot recognize the uploaded device software" 

 

If antybody knows what the problem is please let me know.

I have also attached the console log with the error reporting for the IRF and a screenshot of the error in IMC for the standalone switch

 

Thanks, 

 

Philippe

 

3 REPLIES
Mairie
Occasional Advisor

Re: 5120 EI upgrade via IMC problems

I also get the

Error reporting in IMC: "The device cannot recognize the uploaded device software" 

 

As I have no trust in this, I maually apply the update of the boot-loader and the bootrom on the device. Then it works.

As a result, iMC is just a TFTP server to upload the files

Davy Priem
Regular Advisor

Re: 5120 EI upgrade via IMC problems

Maybe it's caused because of the small flash storage on these switches? I can't put two images on one switch.

Peter_Debruyne
Honored Contributor

Re: 5120 EI upgrade via IMC problems

It is not related to the flash size, IMC would just overwrite the existing image (after all, it just works with an IRF of 2 systems).

So I believe this is just a bug and needs to be fixed ...

 

The only alternative (workaround until a fix is available) would be to define a CLI script, which just works, but lacks decent error handling/reporting.

A working CLI Configuration Template I made for the above versions is:

 

delete /unreserved ${bootrom-filename}^|^
y^|^>
tftp ${imc-ip} get ${bootrom-filename}^|^>
bootrom update file ${bootrom-filename} slot 1^|^
y^|^>
delete /unreserved ${bootrom-filename}^|^
y^|^>
tftp ${imc-ip} get ${firmware-filename} main.bin^|^
y^|^>

 

 

With the compliance center feature you can check the current versions and then schedule a reload.

 

Attached 2 (very basic I know) docs with some screenshots of the CLI Template and the compliance center scripts.

The reports from the compliance center can be exported into a CSV file for easy reporting in excel.

 

 

Hope this helps,

Best regards,Peter.