Aruba-CX Firmware Update
ein kurzer Guide für das Firmware-Update bei Aruba-Swichen aus der CX-Serie.
Am Beispiel eines Aruba-CX JL658A 6300M 24SFP+ 4SFP56 Switches, der frisch aus der Box kam.
Download
Die aktuellen Firmware-Dateien findet man im Software-Bereich des Aruba ASP Portals
Kopieren der neuen Firmware
Quelle: USB-Stick
Der USB-Stick benötigt ein FAT32-Dateisystem. Ein Guide für einen solchen Stick gibt es hier.
6300# show usb Enabled: Yes Mounted: No 6300# usb mount 6300# show usb Enabled: Yes Mounted: Yes 6300# usb mount Make an inserted USB drive available unmount Make an inserted USB drive unavailable to prepare for removal 6300# show usb file-system Display USB drive files and directories <cr> 6300# show usb file-system /mnt/usb: ArubaOS-CX_6400-6300_10_12_0006.swi System Volume Information /mnt/usb/System Volume Information: IndexerVolumeGuid WPSettings.dat 6300# copy usb:/ArubaOS-CX_6400-6300_10_12_0006.swi primary This operation will overwrite the primary firmware image which is currently in use by Redundant Management. After the image update completes, Redundant Management functionality will be unavailable until the system has been rebooted. Continue (y/n)? y Verifying and writing system firmware... 6300#
Quelle: TFTP-Server
der Switch muss hierfür die IP-Adresse des TFTP-Servers erreichen können. Bei bestehenden Switchen über das Routing und normale Netzwerk. Für neue Switche vergebe ich normalerweise eine temporäre VLAN1 Konfig und verbinde mich direkt mit meinem Laptop.
Vorbereitung
6100# conf t 6100(config)# int vlan 1 6100(config-if-vlan)# ip address <"IP-im-Bereich-des-TFTP-Servers">/<"Subnetzmaske"> 6100(config-if-vlan)# exit 6100(config)# exit
Download
6100# copy tftp://<"TFTP-Server-IP">/ArubaOS-CX_6400-6300_10_12_0006.swi primary The primary image will be deleted. Continue (y/n)? y % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 303M 0 303M 0 0 703k 0 --:--:-- 0:07:22 --:--:-- 600k 100 303M 0 303M 0 0 703k 0 --:--:-- 0:07:22 --:--:-- 703k Verifying and writing system firmware...
Update & Reboot
nachdem das neue Firmware-Image auf den Switch kopiert worden ist, muss dieser damit neugestartet werden
6300# boot system primary Default boot image set to primary. Checking if the configuration needs to be saved... Do you want to save the current configuration (y/n)? n Checking for updates needed to programmable devices... Done checking for updates. 4 device(s) need to be updated during the boot process. The estimated update time is 5 minute(s). There may be multiple reboots during the update process. This will reboot the entire switch and render it unavailable until the process is complete. Continue (y/n)? y The system is going down for reboot. ................................................. 6300# show ver ----------------------------------------------------------------------------- ArubaOS-CX (c) Copyright 2017-2023 Hewlett Packard Enterprise Development LP ----------------------------------------------------------------------------- Version : FL.10.12.0006 Build Date : 2023-05-31 23:02:41 UTC Build ID : ArubaOS-CX:FL.10.12.0006:6705ece9e13b:202305312204 Build SHA : 6705ece9e13b7bda1f30567bf7b837062878ac24 Hot Patches : Active Image : primary Service OS Version : FL.01.12.0002 BIOS Version : FL.01.0002
VSF-Stack-Update
Bei einem VSF-Stack kann das update fast genauso durchgeführt wird. Als Besonderheit muss hier nach dem Kopieren der neuen Firmware-Datei eine Pause eingelegt werden, da die Datei erst auf alle Switche verteilt werden muss.
Beim Reboot werden alle Switches des Stacks geupdatet.
6300# boot system primary Default boot image set to primary. File system synchronization in progress. This operation could take up to 600 seconds to complete. Rebooting in the middle of file synchronization can leave the stack members in an incomplete state. Continue (y/n)? n Reboot aborted. 6300# boot system primary Default boot image set to primary. Checking if the configuration needs to be saved... Checking for updates needed to programmable devices... Done checking for updates. 4 device(s) need to be updated during the boot process. The estimated update time is 5 minute(s). There may be multiple reboots during the update process. This will reboot the entire switch and render it unavailable until the process is complete. Continue (y/n)? y The system is going down for reboot. Jun 13 14:12:23 hpe-mgmtmd[52379]: RebootLibPh1: Reboot reason: Reboot requested by user reboot: Restarting system