Any possible to upgrade os6900 with another os6900's tos.img?

Post Reply
zlinuxboy
Member
Posts: 24
Joined: 14 Jan 2025 20:40

Any possible to upgrade os6900 with another os6900's tos.img?

Post by zlinuxboy »

I got two os6900s, they have different firmware version:

os6900-1
```
os6900-1 > show microcode certified
/flash/certified
Package Release Size Description
-----------------+-------------------------+---------+-----------------------------------
Tos.img 8.5.255.R02 229271876 Alcatel-Lucent OS

os6900-1 > ls /flash/certified/*.img
/flash/certified/Tos.img

================
os6900-2
```
os6900-2 > show microcode certified
/flash/certified
Package Release Size Description
-----------------+-------------------------+--------+-----------------------------------
Tos.img 7.3.4.310.R02 219560816 Alcatel-Lucent OS

os6900-2 > ls /flash/certified/*.img
/flash/certified/Tos.img
```

any possible to transfer os6900-1's Tos.img to os6900-2's /flash/working directory and reboot to upgrade it's firmware?
zlinuxboy
Member
Posts: 24
Joined: 14 Jan 2025 20:40

Re: Any possible to upgrade os6900 with another os6900's tos.img?

Post by zlinuxboy »

well, I can confirm that it's possible.

os6900-2 > mkdir /flash/bak
os6900-2 > mv /flash/working/Tos.img /flash/bak
os6900-2 > mv /flash/working/software.lsm /flash/bak
---
os6900-1 > su
TOR# sha256sum /flash/working/Tos.img > /flash/working/imgsha256sum
TOR# exit
os6900-1 > cd /flash/working
os6900-1 > scp Tos.img admin@<os6900-2 ip>:/flash/working/
os6900-1 > scp software.lsm admin@<os6900-2 ip>:/flash/working/
os6900-1 > scp imgsha256sum admin@<os6900-2 ip>:/flash/working/
os6900-1 > image intergity check working imgsha256sum <## I might be wrong, please reference official cli guide, Acturally, this step doesn't required
os6900-1 > show microcode working <## It should show the new Tos.img's version correctly.
os6900-1 > reload from working no rollback-timeout

vola!

NOTE:
of coz you could copy the os6900-1's image to a usb dongle and plug it into os6900-2, but I couldn't find an available compatible at the moment, so I utilize scp for conviently. To be honest, aos was just a stripped down linux distribution, many *nix tool available there if you are confident on your linux skill.
Post Reply

Return to “OmniSwitch 6900”