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
SNMP Communities → Create
AI-generatedSummary
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}