ip/dhcp/relay

Resource URIs

URI Description
<base_URI>/config/running/ip/dhcp/relay Configures DHCP relay.
GET URIs Description
<base_URI>/config/running/ip Configure Internet Protocol (IP).
<base_URI>/config/running/ip/dhcp Configures Dynamic Host Configuration Protocol (DHCP).
<base_URI>/config/running/ip/dhcp/relay/information/option Configures DHCP relay.
POST URIs Payload Description
<base_URI>/config/running/ip/dhcp/relay/information <option> </option> Configures DHCP relay option.
<base_URI>/config/running/ip/dhcp/relay/ <disable-flooding/> Disable flooding of DHCP broadcast packets from the CPU.
PATCH URIs Payload Description
<base_URI>/config/running/ip/dhcp/relay/information <option> </option> Configures DHCP relay option.
<base_URI>/config/running/ip/dhcp/relay/ <disable-flooding/> Disable flooding of DHCP broadcast packets from the CPU.
PUT URIs Payload Description
<base_URI>/config/running/ip/dhcp/relay/information <option> </option> Configures DHCP relay option.
<base_URI>/config/running/ip/dhcp/relay/ <disable-flooding/> Disable flooding of DHCP broadcast packets from the CPU.
DELETE URIs
<base_URI>/config/running/ip/dhcp/relay/information
<base_URI>/config/running/ip/dhcp/relay/disable-flooding

Parameters

option
Enables DHCP relay information.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/ip

None

<dhcp xmlns="urn:brocade.com:mgmt:brocade-dhcp" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/ip/dhcp">
  <relay y:self="/rest/config/running/ip/dhcp/relay">
    <information y:self="/rest/config/running/ip/dhcp/relay/information">
      <option>true</option>
    </information>
  </relay>
</dhcp>

URI

The following example uses the POST option to configure IP DHCP relay option.

http://host:80/rest/config/running/ip/dhcp/relay/information

<option>true</option>

None

URI

The following example uses the DELETE option to remove IP DHCP relay option.

http://host:80/rest/config/running/ip/dhcp/relay/information

None

None

URI

The following example uses the POST option to disable flooding of DHCP packets from CPU.

http://host:80/rest/config/running/ip/dhcp/relay/disable-flooding

 None

None