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
Interfaces → Diagnostic
AI-generatedSummary
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