Setting default gateway for vn-e4, Acquiring host name from vn-e4, Setting host name for vn-e4 – JVC 4ch Network Encoder VN-E4 User Manual

Page 45: Acquiring domain name from vn-e4, Api for acquiring/changing parameters of vn-e4, Network basics setting default gateway for vn-e4

Advertising
background image

45

5. API for Acquiring/Changing Parameters of VN-E4 _

5.8. Network Basics

Setting Default Gateway for VN-E4

Format

/api/param?network.gateway(ipv4)=data

Example

/api/param?network.gateway(ipv4)=10.0.0.254

Example of Response

network.gateway&200 OK

Interpretation

Change the default gateway of IPv4. Default gateway of IPv6 can not be changed. Upon setting this API,
execute the "network.interface.status=restart" API for enabling network setting changes to enable the new
settings.
Specify as 0.0.0.0 to cancel the default gateway setting. However, multicast transmission will be disabled if the
default gateway is not set.

Allowed user

admin

Acquiring Host Name from VN-E4

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-E4

Format

/api/param?network.hostname=data

Example

/api/param?network.hostname=somename

Example of Response

network.hostname&202 Required(network.interface.status=restart)

Interpretation

Change the host name. Characters that may be used for the host name are alphanumerics, underscores (_),
hyphens (-) and percents (%). Upon setting this API, execute the "network.interface.status=restart" API for
enabling network setting changes to enable the new settings.
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

Acquiring Domain Name from VN-E4

Format

/api/param?network.domainname

Example of Response

network.domainname=somename&200 OK

Interpretation

Acquire the current domain name.

Allowed users

admin, operator, user

Advertising