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
ACLs → Create
AI-generatedSummary
Create a new ACL
Inputs
- hostOverride — Optional: Override the hostname from credentials (useful for loops with multiple switches)
- domain (required) — Domain of the Aruba CX API
- aclName (required) — Name of the ACL to create
- aclType (required) — Type of the ACL (ipv4, ipv6, or mac)
- additionalFields — Collection of extra fields that can be added during creation
Output shape
a single ACL object
Contains all properties of the newly created ACL, including system‑generated identifiers; may include an error envelope if the call fails
Examples
Example 1: Create a new IPv4 ACL
domain=System, aclName=my-acl, aclType=ipv4, no hostOverride, no additional fields
Example 2: Create an ACL with custom type
domain=System, aclName=mac-acl, aclType=mac, additionalFields[list_type]=mac
Example 3: Override hostname for multiple switches
hostOverride=10.0.0.5, domain=System, aclName=switch-acl, aclType=ipv4