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
VRFs → Create
AI-generatedSummary
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'