Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Packet Captures → List

AI-generated

Summary

Lists packet captures from an Aruba CX switch.

Inputs

  • hostOverride — Optional override for the switch hostname (useful when iterating over multiple devices).
  • domain (required) — Domain of the Aruba CX API; only 'System' is available.
  • returnAll — When true, returns all matching packet captures; otherwise limits results to the value in Limit.
  • limit — Maximum number of packet captures to return when Return All is false (1‑1000, default 100).
  • filters — Filter collection to adjust the detail level and data returned for each packet capture.

Output shape

array

Each element is a packet capture object returned by the Aruba CX API, containing at least an identifier and name, with additional fields (configuration, status, statistics) included according to the Depth and Selector filter values.

Examples

Example 1: List the 10 most recent packet captures on a switch.

Set Host Override (if needed), Domain = System, Return All = false, Limit = 10, Filters left at defaults.

Discussion