Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

DHCP Relay → Create

AI-generated

Summary

Create a DHCP relay configuration 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
  • vrfName (required) — VRF name where DHCP relay will be configured
  • interfaceName (required) — Interface name for DHCP relay
  • helperAddresses (required) — Comma-separated list of DHCP server IP addresses

Output shape

a single record representing the newly created DHCP relay

Returns the created DHCP relay configuration; errors are propagated or returned as a record with an 'error' field when continueOnFail is enabled

Examples

Example 1: Add DHCP relay on VRF "default" using interface "1/1/1" with helper addresses 192.168.1.10,192.168.1.11

domain=System, resource=dhcpRelay, operation=create, vrfName=default, interfaceName=1/1/1, helperAddresses=192.168.1.10,192.168.1.11

Discussion