interface/{interface-type}/{interface-name}/ipv6/dhcp/relay

Resource URIs

URI Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay Configures DHCPv6 relay server. Valid interface types: Ethernet, Ve.
GET URIs Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay Configures DHCPv6 relay server. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/address Configures DHCPv6 server address. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/{ipv6-address} Configures DHCPv6 server address. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/{ipv6-address}/use-vrf Configures DHCPv6 server VRF to use. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/{ipv6-address}/interface Configures DHCPv6 server interface. Valid interface types: Ethernet, Ve.
POST URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay <servers><address>{ipv6-address}</address><use-vrf>{vrf-name}</use-vrf></servers> Configures DHCPv6 server and VRF to use. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay <servers><address>{ipv6-address}</address> Configures DHCPv6 server. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay <servers><address>{ipv6-address}</address><interface><interface>{type}</interface><interface-name>{name}</interface-name></interface></servers> Configures DHCPv6 server interface. Valid interface types: Ethernet, Ve.
PUT URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/{address}/use-vrf <use-vrf>{common-def:vrf-name}</use-vrf> Configures VRF to use. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/{address}/interface <interface><interface>{dhcpv6-iftype}</interface><interface-name>{dhcpv6-ifname}</interface-name></interface> Configures DHCPv6 server interface. Valid interface types: Ethernet, Ve.
PATCH URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/{address} <servers><use-vrf>{common-def:vrf-name}</use-vrf></servers> Configures VRF to use. Valid interface types: Ethernet, Ve.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/{address}/interface <interface><interface>{dhcpv6-iftype}</interface><interface-name>{dhcpv6-ifname}</interface-name></interface> Configures DHCPv6 server interface. Valid interface types: Ethernet, Ve.
DELETE URIs
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/{ipv6-address}

Parameters

interface-type
Valid interface type:Ethernet and Ve.
address
IPv6 address of the server.
use-vrf
VRF name of the DHCPv6 server
servers
DHCPv6 Server IP Address

Usage Guidelines

GET, PUT, PATCH, POST, 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/ipv6/dhcp/relay

None

<relay xmlns="urn:brocade.com:mgmt:brocade-dhcpv6" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/interface/Ve/11/ipv6/dhcp/relay">
  <servers y:self="/rest/config/running/interface/Ve/11/ipv6/dhcp/relay/servers/2021:dade::1010">
    <address>2021:dade::1010</address>
  </servers>
  <servers y:self="/rest/config/running/interface/Ve/11/ipv6/dhcp/relay/servers/2031:dade::1010">
    <address>2031:dade::1010</address>
  </servers>
</relay>

URI

The following example uses the POST option to configure DHCPv6 server.

http://host:80/rest/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay

<servers>
  <address>2021:dade::1020</address>
  <use-vrf>vrf1</use-vrf>
</servers>

None

URI

The following example uses the DELETE option to remove DHCPv6 server.

http://host:80/rest/config/running/interface/{interface-type}/{interface-name}/ipv6/dhcp/relay/servers/2021:dade::1020

None

None