ip/dhcp/snooping

Resource URIs

URI Description

<base_URI>/config/running/ip/dhcp/snooping/

Configures DHCP snooping.

GET URI Description

<base_URI>/config/running/ip/dhcp/snooping

Retrieves DHCP snooping configuration information.

PATCH URI Payload Description

<base_URI>/config/running/ip/dhcp/snooping

<snooping><snoop-enable>true</snoop-enable></snooping>

Enables DHCP snooping.

<base_URI>/config/running/ip/dhcp/snooping/information

<information><option><allow-untrusted>true</allow-untrusted></option></information>

Enables untrusted ports to accept incoming DHCP packets.
DELETE URI

<base_URI>/config/running/ip/dhcp/snooping/snoop-enable

<base_URI>/config/running/ip/dhcp/snooping

Parameters

information
Configures DHCP snooping information, such as enabling untrusted ports to accept incoming DHCP packets.

Usage Guidelines

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

Examples

Example

This example uses the GET option to retrieve configuration details.
<snooping xmlns="urn:brocade.com:mgmt:brocade-dhcp" 
xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/ip/dhcp/snooping">
  <snoop-enable>true</snoop-enable>
  <information y:self="/rest/config/running/ip/dhcp/snooping/information">
    <option y:self="/rest/config/running/ip/dhcp/snooping/information/option">
      <allow-untrusted>true</allow-untrusted>
    </option>
  </information>
</snooping>