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
DHCP Relay → Create
AI-generatedSummary
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