Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

VRFs → Create

AI-generated

Summary

Creates a new VRF on an Aruba CX switch using the REST API.

Inputs

  • hostOverride — Optional hostname or IP address to override the host from credentials.
  • domain (required) — The domain of the Aruba CX API (defaults to 'System').
  • vrfName (required) — The name for the new VRF to create.
  • additionalFields.type — Type of VRF (Default, Management, or User). Defaults to 'user'.
  • additionalFields.rd — Route Distinguisher for the VRF (e.g., 65000:100).

Output shape

one successful record per item input

Returns a JSON object containing the details of the created VRF. Errors are returned as JSON with an 'error' field if 'Continue on Error' is enabled.

Examples

Example 1: Create a standard customer VRF with a Route Distinguisher.

Domain: System, VRF Name: 'customer_a', Additional Fields RD: '65000:100'

Example 2: Create a management VRF on a specific switch IP.

Host Override: '192.168.1.5', Domain: System, VRF Name: 'mgmt_vrf', Additional Fields Type: 'management'

Discussion