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 → Create
AI-generatedSummary
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.