URI | Description |
---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ra-dns-server | Configures the Domain Name System (DNS) server address and the lifetime multiplier information to IPv6 hosts in the Router Advertisement (RA) message. Valid interface types: Ethernet, Ve. |
GET URIs | Description |
---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ra-dns-server/{ipv6_address_of_name_server} | Retrieves the Domain Name System (DNS) server address to IPv6 hosts in the Router Advertisement (RA) message. Valid interface types: Ethernet, Ve. |
POST URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name} | <ra-dns-server><dns-server-prefix-global>{dns-server-prefix}</dns-server-prefix-global></ra-dns-server> | Sets global DNS server option and sets the Lifetime multiplier. Valid interface types: Ethernet, Ve. |
PUT URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ra-dns-server/{ipv6_address_of_name_server}/lifetime-multplier | <lifetime-multplier>decimal</lifetime-multplier> | Lifetime multiplier for the DNS Server option.Valid interface types: Ethernet, Ve. |
DELETE URIs |
---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ra-dns-server/{ipv6_address_of_name_server}/lifetime-multplier |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ra-dns-server/{ipv6_address_of_name_server} |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details and the lifetime multiplier information.
http://host:80/rest/config/running/interface/Ethernet/%222/25%22/ra-dns-server/3300:36::11/lifetime-multplier
None
<ra-dns-server xmlns="urn:brocade.com:mgmt:brocade-ipv6-nd-ra" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/ipv6/nd/ra-dns-server/2100:21:2134::566"> <dns-server-prefix-global>2100:21:2134::566</dns-server-prefix-global> </ra-dns-server> <ra-dns-server xmlns="urn:brocade.com:mgmt:brocade-ipv6-nd-ra" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/ipv6/nd/ra-dns-server/3600:36::1"> <dns-server-prefix-global>3600:36::1</dns-server-prefix-global> </ra-dns-server> <ra-dns-server xmlns="urn:brocade.com:mgmt:brocade-ipv6-nd-ra" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/ipv6/nd/ra-dns-server/3600:36::11"> <dns-server-prefix-global>3600:36::11</dns-server-prefix-global> </ra-dns-server>
The following is an example of the POST operation to set global DNS server option and sets the Lifetime multiplier.
http://host:80/rest/config/running/interface/Ethernet/%221/1%22
<ra-dns-server><dns-server-prefix-global>3300:36::11</dns-server-prefix-global><lifetime-multplier>199</lifetime-multplier> </ra-dns-server>
None
The following is an example of the DELETE operation to remove DNS server.
http://host:80/rest/config/running/interface/Ethernet/%221/1%22/ra-dns-server/3400:36::11/lifetime-multplier
None
None