dhcp-snooping-state

Resource URIs

URI Description
<base_URI>/operational-state/dhcp-snooping-state Displays dhcp snooping information including status of dhcp snooping on device, status of dhcp snooping information option, dhcp snooping enabled VLANs, and trusted interfaces.

Usage Guidelines

Only GET operation is supported. Use of the Resource-Depth request header is recommended.

Examples

URI

The following example shows the complete cURL command and server response for the dhcp-snooping-state GET operation.

http://host:80/rest/operational-state/dhcp-snooping-state

curl -H "Accept: application/vnd.operational-state.resource+xml" -H "Resource-Depth: 6"  
-u "lab:Tester**"  http://10.20.229.40:80/rest/operational-state/dhcp-snooping-state
<data xmlns="http://brocade.com/ns/rest" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/operational-state">
<dhcp-snooping-state xmlns="urn:brocade.com:mgmt:brocade-dhcp-operational" y:self="/rest/operational-state/dhcp-snooping-state">
  <dhcp-snooping>false</dhcp-snooping>
  <information-option>false</information-option>
  <allowed-untrusted>false</allowed-untrusted>
  <enabled-vlans>&quot; NONE&quot;</enabled-vlans>
  <trusted-interfaces>&quot; NONE&quot;</trusted-interfaces>
</dhcp-snooping-state>
</data>

History

Release version History
18r.2.00 This API call was introduced.