Policy > Networking > IP Management > DHCP > DHCP Static Bindings > Segments Bindings (Fixed)

Create or update DHCP static binding

If binding with the binding-id is not already present,
create a new DHCP static binding instance. If it already exists, replace
the existing DHCP static binding instance with specified attributes.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/dhcp-static-binding-configs/<binding-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DhcpV4StaticBindingConfig+
DhcpV6StaticBindingConfig+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-1s/mgw/segments/web_seg/dhcp-static-binding-configs/binding1 { "resource_type": "DhcpV4StaticBindingConfig", "gateway_address": "10.1.1.1", "mac_address": "11:22:33:44:55:67", "host_name": "vm1.vmware.com", "ip_address": "30.30.30.175", "options": { "option121": { "static_routes": [ { "network": "10.22.12.1/23", "next_hop": "2.2.2.2" }, { "network": "129.0.0.1/32", "next_hop": "0.0.0.0" } ] } } }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_segment

Additional Errors: