Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Firmware → Update from URL

AI-generated

Summary

Updates the firmware on an Aruba CX switch by downloading an image from a specified URL and installing it to the primary or secondary partition.

Inputs

  • hostOverride — Optional hostname to override the credentials (useful when looping over multiple switches).
  • domain (required) — Domain of the Aruba CX API (fixed to 'System').
  • sourceUrl (required) — Full URL to the firmware image file (e.g., http://server.com/firmware.swi).
  • imageType (required) — Firmware partition to update: 'primary' or 'secondary'.
  • additionalFields.vrf — VRF name to use for the HTTP connection (default: 'default').

Output shape

object

Contains the response returned by the Aruba CX API after the firmware update request (typically success status or job information).

Examples

Example 1: Update primary firmware via default VRF

sourceUrl: http://192.168.1.100/firmware.swi, imageType: primary

Discussion