JVC VN-E4U API Guide - Page 47

Acquiring DNS Server IP Address from VN-E4, Acquiring MAC Address from VN-E4

Page 47 highlights

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 47

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

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