Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

SNMP Communities → List

AI-generated

Summary

Lists SNMP community attributes from an Aruba CX switch.

Inputs

  • hostOverride — Optional: Override the hostname from credentials (useful for loops with multiple switches).
  • domain (required) — Domain of the Aruba CX API (fixed to System).
  • returnAll — Whether to return all results or only up to a given limit.
  • limit — Maximum number of results to return when returnAll is false.
  • filters — Filter options for the list request.

Output shape

Array of SNMP community attribute objects.

Each object contains details of an SNMP community as returned by the Aruba CX REST API.

Examples

Example 1: Retrieve first 10 SNMP communities.

Set returnAll to false and limit to 10.

Example 2: Get all SNMP communities with full details.

Set returnAll to true; optionally set filters.depth to a higher value for more detail.

Discussion