Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

ACLs → Create

AI-generated

Summary

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

Discussion