Configures DHCPv6 relay.
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} |
GET, PUT, PATCH, POST, DELETE, OPTIONS, and HEAD operations are supported.
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>
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
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