Configuring DHCPv4 Relay
DME
YANG
Copy
POST http://<IP_Address>/api/mo/sys/dhcp.json
{ "dhcpEntity": { "children": [ { "dhcpInst": { "attributes": { "v4RelayEnabled": "yes" }}}]}}
Response
{ imdata:[] }
Copy
<System> <dhcp-items> <inst-items> <v4RelayEnabled>true</v4RelayEnabled> </inst-items> </dhcp-items> </System>