interface/{interface-type}/{interface-name}/ip/dhcp/relay/gateway

Configures DHCP relay gateway.

Resource URIs

URI Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ip/dhcp/relay/gateway Configures DHCP relay gateway. Valid interface types: Ethernet, Ve.
GET URIs Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ip/dhcp/relay/gateway Configures DHCP relay gateway. Valid interface types: Ethernet, Ve.
POST URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ip/dhcp/relay <gateway>{ip-address}</gateway> Configures DHCP relay gateway. Valid interface types: Ethernet, Ve.
PATCH URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ip/dhcp/relay/gateway <gateway>{ip-address}</gateway> Configures DHCP relay gateway. Valid interface types: Ethernet, Ve.
PUT URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ip/dhcp/relay/gateway <gateway>{ip-address}</gateway> Configures DHCP relay gateway. Valid interface types: Ethernet, Ve.
DELETE URIs
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ip/dhcp/relay/gateway

Parameters

address
IP address of the gateway.

Usage Guidelines

GET, POST, PATCH, PUT, 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/interface/ve/11/ip/dhcp/relay/gateway

None

<gateway xmlns="urn:brocade.com:mgmt:brocade-dhcp" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/interface/Ve/11/ip/dhcp/relay/gateway">11.1.2.1</gateway>

URI

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

http://host:80/rest/config/running/interface/ethernet/%221/10%22/ip/dhcp/relay

<gateway>10.10.10.10</gateway>

None

URI

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

http://host:80/rest/config/running/interface/ethernet/%221/10%22/ip/dhcp/relay/gateway

None

None