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
CLI → Execute Command
AI-generatedSummary
Execute a CLI command on 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
- cliCommand (required) — CLI show command to execute (e.g., "show vlan", "show interface")
Output shape
a list of items
Returned items depend on the selected resource; typically an array of objects, may be empty; errors are handled via continueOnFail and returned as {error: message}.
Examples
Example 1: List VLANs on a switch
Domain set to System, CLI Command set to "show vlan", Host Override left blank
Example 2: Run a custom show command on a specific host
Host Override: 192.168.1.10, Domain: System, CLI Command: "show interface", Note left blank
Example 3: Execute a command with overridden host for multiple switches
Host Override provided, Domain: System, CLI Command: "show lldp", Note left blank