Hi Vossi,
Thanks for feedback about PowerArubaCX...
About copy primary to secondary, i check and not found API call for this... :(
You need to re-download the firmware oon primary slot...
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
------------------------------
Original Message:
Sent: Aug 12, 2024 08:16 AM
From: Vossi
Subject: possible to do "copy primary secondary" with API on 6200 CX Switches ?
Hi all,
i have to upgrade about 60 Aruba OS CX Switches with current Firmware. I would like to use the API to receive status of update etc. I have managed to create a powershell Script that uses the great PowerArubaCX Module from Alexis La Goutte, to login, copy the running config to startup config. I`m able to download the Firmware Image from an internal Webserver, and can restart the Switch with new Firmware.
For standardization we would like to always have most current Firmware on primary flash, an have the last "approved " Firmware on secondary Flash.
Until now i´m only able to transfer the Firmware to both Flashes current Version to Primary an older version to secondary, but it would be much better and faster to simply copy the firmware prior to upgrading from primary to secondary flash.
This is possible by CLI with issuing a "copy primary secondary" and entering "Y" Ist there a way that i can do this by API calls ? I can't find the right URI to use. /CLI seems only to be able to run "show....." commands.
Any Idea´s will be helpfull
Vossi