Setting default gateway for vn-v686, Getting host name from vn-v686, Setting host name for vn-v686 – JVC VN-V686UAPI User Manual

Page 80: Getting dns server on/off status from vn-v686

Advertising
background image

Interpretation Acquire the current default gateway.

Allowed users admin, operator, user

Setting Default Gateway for VN-V686

Format

/api/param?network.gateway=data

Example

/api/param?network.gateway=192.168.0.254

Example of Response

network.gateway&200 OK

Interpretation Change the default gateway. To set static default gateway, disable DHCP. Default gateway can not

be changed when DHCP is enabled. Specify IP address in same segment with VN-V686's IP address. Specify 0.0.0.0

to delete default gateway setting.

Allowed user admin

Getting Host Name from VN-V686

Format

/api/param?network.hostname

Example of Response

network.hostname=localhost&200 OK

Interpretation Acquire the current host name.

Allowed users admin, operator, user

Setting Host Name for VN-V686

Format

/api/param?network.hostname=data

Example

/api/param?network.hostname=somename

Example of Response

network.hostname&200 OK

Interpretation Change the host name. Characters that may be used for the host name are alphanumerics,

hyphens (-) and period. Maximum size is 63 bytes.

Specify as %00 when the host name setting is to be left blank.

Example when leaving field blank

/api/param?network.hostname=%00

Allowed user admin

Getting DNS Server On/Off Status from VN-V686

Format

/api/param?network.dns.status

Example of Response

network.dns.status=off&200 OK

Interpretation Acquire the on/off status of the DNS server. Either on or off will be returned.

Allowed users admin, operator, user

Setting DNS Server Status to On/Off, or Validate Changes for VN-V686

Format

/api/param?network.dns.status=data

80

Advertising