47
5. API for Acquiring/Changing Parameters of VN-E4 _
5.8. Network Basics
Acquiring DNS Server IP Address from VN-E4
Format
/api/param?network.dns.ip
Example of Response
network.dns.ip=10.0.0.150&200 OK
Interpretation
Acquire the IP address of the DNS server.
Allowed users
admin, operator, user
Setting DNS Server IP Address for VN-E4
Format
/api/param?network.dns.ip=data
Example
/api/param?network.dns.ip=10.0.0.150
Example of Response
network.dns.ip&202 Required(network.interface.status=restart)
Interpretation
Change the IP address of the DNS server. Upon setting this API, execute the "network.interface.status=restart"
API for enabling network setting changes to enable the new settings.
Allowed users
admin, operator
Acquiring MAC Address from VN-E4
Format
/api/param?network.interface.mac
Example of Response
network.interface.mac=008088001AEF&200 OK
Interpretation
Acquire the MAC address. A 12-byte ASCII character string will be returned. There is no API for setting the
MAC address.
Allowed users
admin, operator, user
Acquiring IPv6 On/Off Status from VN-E4
Format
/api/param?network.interface.ipv6.status
Example of Response
network.interface.ipv6.status=off&200 OK
Interpretation
Acquire the on/off status of IPv6. Either on or off will be returned.
Allowed users
admin, operator, user
Setting IPv6 Status to On/Off for VN-E4
Format
/api/param?network.dns.ipv6.status=data
Example
/api/param?network.dns.ipv6.status=on
Example of Response
network.dns.ipv6.status&202 Required(network.interface.status=restart)
Interpretation
Change the on/off status of IPv6. Specify as on or off. Upon setting this API, execute the
"network.interface.status=restart" API for enabling network setting changes to enable the new settings. Upon
changing the on/off status of IPv6, VN-E4 will be rebooted using the "network.interface.status=restart" API
for enabling settings. As such, access will not be possible for about 1 minute.
Allowed user
admin STATUS