Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Mirror Sessions → Create

AI-generated

Summary

Creates a new Mirror Session on an Aruba CX switch.

Inputs

  • hostOverride — Optional override of the switch hostname from credentials, useful for looping over multiple switches.
  • domain (required) — API domain to use; currently only "System" is supported.
  • sessionId (required) — Identifier for the new mirror session (e.g., "1").
  • additionalFields — Optional extra fields such as destination interface and status (active/inactive).

Output shape

An array containing the created mirror session object(s)

The response includes the full mirror session resource; additional fields may be present depending on configuration.

Examples

Example 1: Create a mirror session named 1 with destination port 1/1/48 and active status

Set domain to System, sessionId to 1, destination to 1/1/48, status to active; optionally override host.

Discussion