Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Mirror Sessions → Update

AI-generated

Summary

Update an existing mirror session on an Aruba CX switch.

Inputs

  • hostOverride — Optional hostname to override the credential host (useful when iterating over multiple switches).
  • domain (required) — API domain; fixed to 'System' for this node.
  • sessionId (required) — Identifier of the mirror session to update.
  • updateFields — Collection of fields to update on the mirror session. At least one field should be provided for a meaningful change; empty collection results in no change but still sends a request.
  • updateFields.destination — Mirror destination interface or endpoint (e.g., '1/1/48').
  • updateFields.status — Mirror session status; allowed values are 'active' or 'inactive'. Defaults to 'active' when not specified.

Output shape

array of objects

Returns the updated mirror session payload as received from the Aruba CX REST API (typically a JSON object representing the session).

Examples

Example 1: Activate a mirror session and set its destination interface.

Set sessionId to '5', updateFields.destination to '1/1/24', updateFields.status to 'active'.

Discussion