JVC VN-E4U API Guide - Page 44

Setting IP Address for VN-E4, Acquiring Subnet Mask from VN-E4, Acquiring Default Gateway from VN-E4

Page 44 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.8. Network Basics Setting IP Address for VN-E4 Format /api/param?network.interface.ip=data Example /api/param?network.interface.ip=10.0.0.1 Example of Response network.interface.ip&202 Required(network.interface.status=restart) Interpretation Change the IP address. Upon setting this API, execute the "network.interface.status=restart" API for enabling network setting changes to enable the new settings. Ensure to execute "network.interface.status=restart" upon setting the IP address, subnet mask and default gateway combination appropriately. Allowed user admin Acquiring Subnet Mask from VN-E4 Format /api/param?network.interface.subnetmask Example of Response network.interface.subnetmask=255.0.0.0&200 OK Interpretation Acquire the current subnet mask. Allowed users admin, operator, user Setting Subnet Mask for VN-E4 Format /api/param?network.interface.subnetmask=data Example /api/param?network.interface.subnetmask=255.0.0.0 Example of Response network.interface.subnetmask&202 Required(network.interface.status=restart) Interpretation Change the subnet mask. Upon setting this API, execute the "network.interface.status=restart" API for enabling network setting changes to enable the new settings. Ensure to execute "network.interface.status=restart" upon setting the IP address, subnet mask and default gateway combination appropriately. Allowed user admin Acquiring Default Gateway from VN-E4 Format /api/param?network.gateway(version) Example /api/param?network.gateway(ipv4) Example of Response network.gateway(ipv4)=10.0.0.254&200 OK Interpretation Acquire the current default gateway. Specify the version as ipv4 or ipv6. Allowed users admin, operator, user 44

  • 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

44
5. API for Acquiring/Changing Parameters of VN-E4 _
5.8. Network Basics
Setting IP Address for VN-E4
Format
/api/param?network.interface.ip=data
Example
/api/param?network.interface.ip=10.0.0.1
Example of Response
network.interface.ip&202 Required(network.interface.status=restart)
Interpretation
Change the IP address. Upon setting this API, execute the "network.interface.status=restart" API for enabling
network setting changes to enable the new settings. Ensure to execute "network.interface.status=restart" upon
setting the IP address, subnet mask and default gateway combination appropriately.
Allowed user
admin
Acquiring Subnet Mask from VN-E4
Format
/api/param?network.interface.subnetmask
Example of Response
network.interface.subnetmask=255.0.0.0&200 OK
Interpretation
Acquire the current subnet mask.
Allowed users
admin, operator, user
Setting Subnet Mask for VN-E4
Format
/api/param?network.interface.subnetmask=data
Example
/api/param?network.interface.subnetmask=255.0.0.0
Example of Response
network.interface.subnetmask&202
Required(network.interface.status=restart)
Interpretation
Change the subnet mask. Upon setting this API, execute the "network.interface.status=restart" API for
enabling network setting changes to enable the new settings. Ensure to execute
"network.interface.status=restart" upon setting the IP address, subnet mask and default gateway combination
appropriately.
Allowed user
admin
Acquiring Default Gateway from VN-E4
Format
/api/param?network.gateway(version)
Example
/api/param?network.gateway(ipv4)
Example of Response
network.gateway(ipv4)=10.0.0.254&200 OK
Interpretation
Acquire the current default gateway. Specify the version as ipv4 or ipv6.
Allowed users
admin, operator, user