Actions74
- ACLs Actions
- CLI Actions
- Configuration Actions
- DHCP Relay Actions
- Firmware Actions
- Interfaces Actions
- LLDP Neighbors Actions
- Logs Actions
- Mirror Sessions Actions
- Mirror Endpoints Actions
- Packet Captures Actions
- Port Access Cached Clients Actions
- Port Access Roles Actions
- SNMP Communities Actions
- System Actions
- Users Actions
- VLANs Actions
- VRFs Actions
Mirror Sessions → Update
AI-generatedSummary
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'.