Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Interfaces → Update

AI-generated

Summary

Update an Aruba CX interface with configurable parameters such as description, admin state, VLAN settings, and IP address.

Inputs

  • hostOverride — Optional override of the hostname from credentials (useful for loops with multiple switches)
  • domain (required) — Domain of the Aruba CX API (e.g., System)
  • interfaceId (required) — ID of the interface to update (e.g., 1/1/1, lag1, vlan10)
  • updateFields — Collection of interface attributes to update (e.g., description, admin state, routing, VLAN mode, etc.)

Output shape

a list of updated interface resources

Returns the updated interface configuration(s); may be empty on success; errors are propagated unless continueOnFail is enabled

Examples

Example 1: Update interface description and enable routing

Set Interface ID to '1/1/1', enable Routing, set Description to 'Uplink to Core', keep admin state 'up'

Example 2: Configure VLAN trunk with native untagged and allow VLANs 10,20

Set Interface ID to 'lag1', VLAN Mode to 'Trunk', VLAN Tag to 1, Trunk VLANs to '10,20'

Example 3: Assign IPv4 and IPv6 addresses

Set Interface ID to 'vlan10', IP Address to '192.168.10.1/24', IPv6 Address to '2001:db8::1/64'

Discussion