Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Packet Captures → Create

AI-generated

Summary

Initiates a new packet capture on the specified Aruba CX switch.

Inputs

  • hostOverride — Optional hostname to override credentials for multiple switches.
  • domain (required) — Domain of the Aruba CX API (must be 'System').
  • resource (required) — Resource to consume (must be 'packetCaptures').
  • operation (required) — Operation to perform (must be 'create').
  • captureName (required) — Name for the new packet capture.
  • captureType (required) — Type of packet capture (local or remote).
  • additionalFields — Optional configuration including interface, filter, max packets, and status.

Output shape

a list of items

Each item contains a JSON object with a 'data' property holding the API response details.

Examples

Example 1: Create a local capture named 'capture1' on interface 1/1/1 with an ACL filter.

Domain: System, Resource: Packet Captures, Operation: Create, Capture Name: capture1, Capture Type: local, Additional Fields: Interface: 1/1/1, Filter: acl1

Example 2: Start a remote capture with a maximum of 100 packets.

Domain: System, Resource: Packet Captures, Operation: Create, Capture Name: remote_capture, Capture Type: remote, Additional Fields: Max Packets: 100

Discussion