Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

SNMP Communities → Create

AI-generated

Summary

Create a new SNMP community on an Aruba CX switch

Inputs

  • hostOverride — Optional override of the switch hostname from credentials (useful in loops)
  • domain (required) — API domain; must be "System" for SNMP Communities
  • communityName (required) — Name of the new SNMP community
  • accessType (required) — Access level for the community ("ro" for Read‑Only, "rw" for Read‑Write)
  • additionalFields — Optional collection of extra attributes such as "restricted"

Output shape

a list of created SNMP community objects

Each item reflects the attributes of the newly created community; may be empty if the operation fails

Examples

Example 1: Add a monitoring community with default settings

hostOverride: 192.168.1.1, domain: System, communityName: monitoring, accessType: ro, additionalFields: {}

Example 2: Create a restricted read‑write community

hostOverride: "", domain: System, communityName: secureRW, accessType: rw, additionalFields: {"restricted": true}

Discussion