Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Interfaces → Diagnostic

AI-generated

Summary

Enable or disable an interface using diagnostic mode

Inputs

  • hostOverride — Optional override of the switch hostname; useful for looping over multiple switches
  • domain (required) — API domain to use; must be set to System for diagnostic operations
  • interfaceId (required) — Identifier of the interface to operate on (e.g., 1/1/1, lag1, vlan10)
  • diagnosticAction (required) — Action to perform: 'up' to administratively enable the interface or 'down' to administratively disable it

Output shape

a list of diagnostic result objects

Returns items representing the operation outcome; errors are propagated unless continueOnFail is enabled

Examples

Example 1: Enable interface 1/1/1

Domain=System, Interface ID=1/1/1, Diagnostic Action=up (hostOverride optional)

Example 2: Disable interface lag1

Domain=System, Interface ID=lag1, Diagnostic Action=down

Discussion