Monday, 14 April 2014

Software upgrade process for Alcatel Lucent switch

If you can't find the upgrade process in the switch manuals (that's because it's not there!) here's the method described in the release notes (slightly modified by me).

This is specifically for a 6900 series Omniswitch but it probably applies to other models.

Your software upgrade file should have a Image file - Tos.img and possibly also a U-Boot file (u-boot.x.x.tar.gz) and possibly a FPGA file as well (tor_fpgas_x_x.vme)

  1. Take a copy of your working directory so you have a backup of the current code:

  2. -> cp -r working working_prev

  3. Place the new image file in your working directory

  4. -> scp user@host:Tos.img ./working

  5. Copy the other two files (if they exist) into the current directory

  6. -> scp user@host:u-boot.tar.gz .
    -> scp user@host:tor_fpgas.vme .


  7. Upgrade the U-Boot file (if the file exists)

  8. -> update uboot cmm 1 file u-boot.x.x.tar.gz

  9. Upgrade the fpga (if the file exists)

  10. -> update fpga cmm 1 file tor_fpgas.vme

  11. You can now remove the u-boot and fpga files

  12. -> rm u-boot.x.x.tar.gz
    -> rm tor_fpgas.vme


  13. Upgrade the switch software by rebooting the switch from the working directory

  14. -> reload from working no rollback-timeout

  15. Check the software version after reboot

  16. -> show microcode
    /flash/certified Package           Release                 Size     Description
    -----------------+-------------------------+--------+-----------------------
    Tos.img           7.3.2.344.R01             126642216 Alcatel-Lucent OS

  17. If all looks well after the reboot you can copy the current config/software to the certified config

  18. -> copy running certified

  19. If all doesn't look well you can always revert to the previous version in your copy of the working directory

  20. -> cp -r working_prev working
    -> reload from working no rollback-timeout


Some more useful Alcatel commands to be found here:

http://www.latouche.info/admin/user_guides/omniswitch.html