Getting ip address from vn-v686, Setting ip address for vn-v686, Getting subnet mask from vn-v686 – JVC VN-V686UAPI User Manual

Page 79: Setting subnet mask for vn-v686, Getting default gateway from vn-v686

Advertising
background image

Getting IP Address from VN-V686

Format

/api/param?network.interface.ip

Example of Response

network.interface.ip=192.168.0.2&200 OK

Interpretation Acquire the current IP address.

Allowed users admin, operator, user

Setting IP Address for VN-V686

Format

/api/param?network.interface.ip=data

Example

/api/param?network.interface.ip=192.168.0.2

Example of Response

network.interface.ip&202 Accepted(network.interface.status=restart)

Interpretation Change the IP address. To validate the change, use "network.interface.status=restart" API that

reboots VN-V686 in about 1 minute. Set appropriate combination of IP address, subnet mask and default gateway

before "network.interface.status=restart".

Allowed user admin

Getting Subnet Mask from VN-V686

Format

/api/param?network.interface.subnetmask

Example of Response

network.interface.subnetmask=255.255.255.0&200 OK

Interpretation Acquire the current subnet mask.

Allowed users admin, operator, user

Setting Subnet Mask for VN-V686

Format

/api/param?network.interface.subnetmask=data

Example

/api/param?network.interface.subnetmask=255.0.0.0

Example of Response

network.interface.subnetmask&202 Accepted(network.interface.status=restart)

Interpretation Change the subnet mask. To validate the change, use "network.interface.status=restart" API that

reboots VN-V686 in about 1 minute. Set appropriate combination of IP address, subnet mask and default gateway

before "network.interface.status=restart".

Allowed user admin

Getting Default Gateway from VN-V686

Format

/api/param?network.gateway

Example of Response

network.gateway=192.168.0.254&200 OK

79

Advertising