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