[Solved] ArubaCX-OS Firmware updates

Unimus support forum
Post Reply
MatthiasM
Posts: 4
Joined: Thu Mar 09, 2023 2:15 pm

Thu Oct 31, 2024 10:50 am

Hi,

i have a issue updating firmware on Aruba CX6100 with Unimus

first of all i'd like to copy primary flash to secondary (save existing..)
and that fails

i also increased the timeout to 20 and enabled debuglogging.

my Mass Config Push look like

Code: Select all

wr mem
conf t
copy primary secondary
$(send 0x79)$(enter yes)
show image
my debuglog looks like

Code: Select all

sw-HG-3StVR02# 
sw-HG-3StVR02# configure terminal
sw-HG-3StVR02(config)# wr mem

TIMESTAMP: 2024-10-31 11:43:46.796

Copying configuration: [\] 
Copying configuration: [|] 
Copying configuration: [/] 
Copying configuration: [-] 
Copying configuration: [\] 
TIMESTAMP: 2024-10-31 11:43:48.031

Copying configuration: [|] 
Copying configuration: [/] 
Copying configuration: [-] 
Copying configuration: [\] 
TIMESTAMP: 2024-10-31 11:43:49.047

Copying configuration: [|] 
Copying configuration: [/] 
Copying configuration: [-] 
Copying configuration: [\] 
Copying configuration: [|] 
TIMESTAMP: 2024-10-31 11:43:50.297

Copying configuration: [/] 
Copying configuration: [-] 
Copying configuration: [\] 
Copying configuration: [|] 
Copying configuration: [/] 
TIMESTAMP: 2024-10-31 11:43:51.531

Copying configuration: [-] 
Copying configuration: [\] 
Copying configuration: [|] 
Copying configuration: [/] 
Copying configuration: [-] 
TIMESTAMP: 2024-10-31 11:43:52.781

Copying configuration: [\] 
Copying configuration: [|] 
Copying configuration: [/] 
Copying configuration: [-] 
Copying configuration: [\] 
TIMESTAMP: 2024-10-31 11:43:54.031

Copying configuration: [|] 
Copying configuration: [/] 
Copying configuration: [-] 
Copying configuration: [\] 
Copying configuration: [|] 
TIMESTAMP: 2024-10-31 11:43:55.281

Copying configuration: [/] 
Copying configuration: [-] 
Copying configuration: [\] 
Copying configuration: [|] 
Copying configuration: [/] 
TIMESTAMP: 2024-10-31 11:43:56.609

Copying configuration: [-] 
Copying configuration: [\] 
Copying configuration: [|] 
Copying configuration: [Success]
sw-HG-3StVR02(config)# conf t
sw-HG-3StVR02(config)# copy primary secondary
The secondary image will be deleted.


[A[2K
Continue (y/n)? [2K
Continue (y/n)? y

TIMESTAMP: 2024-10-31 11:44:20.453

Verifying and writing system firmware...

TIMESTAMP: 2024-10-31 11:44:27.531
<<SSH disconnect - channel & session>>
DEVICE OUTPUT END:
User avatar
Tomas
Posts: 1276
Joined: Sat Jun 25, 2016 12:33 pm

Thu Oct 31, 2024 3:34 pm

MatthiasM wrote:
Thu Oct 31, 2024 10:50 am
Hi,

i have a issue updating firmware on Aruba CX6100 with Unimus
...
Hi. From a first look, this looks like the timeout is still too low for the device to write the new firmware. If you run this manually (using Putty, etc.), how long does the device take to write the firmware after sending "y" to the "Continue (y/n)? y" prompt?
MatthiasM
Posts: 4
Joined: Thu Mar 09, 2023 2:15 pm

Wed Nov 13, 2024 8:12 am

Tomas wrote:
Thu Oct 31, 2024 3:34 pm
how long does the device take to write the firmware after sending "y" to the "Continue (y/n)? y" prompt?
hi, thanks for the response.

i took the time while doing this "by hand". it was arround 35 secs till complete.

this was the output

Code: Select all

sw-test# copy primary secondary
The secondary image will be deleted.

Continue (y/n)? y

Verifying and writing system firmware...
sw-test#
User avatar
Tomas
Posts: 1276
Joined: Sat Jun 25, 2016 12:33 pm

Wed Nov 13, 2024 11:54 am

MatthiasM wrote:
Wed Nov 13, 2024 8:12 am
...
i took the time while doing this "by hand". it was arround 35 secs till complete.
...
In that case, I would recommend setting the timeout to 60000 (using the Override timeouts in Advanced settings of your Push Preset). That should fix the issues and the pushes should complete without errors :)
Post Reply