81
Getting Subnet Mask from VN-V685/686/686B
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-V685/686/686B
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-V685/686/686B 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-V685/686/686B
Format /api/param?network.gateway(version)
Example to get default gateway of IPv4 /api/param?network.gateway(ipv4)
Example of Response network.gateway(ipv4)=192.168.0.254&200 OK
Interpretation Acquire the current default gateway. Specify ipv4 or ipv6.
Allowed users admin, operator, user
Setting Default Gateway for VN-V685/686/686B
Format /api/param?network.gateway(ipv4)=data
Example /api/param?network.gateway(ipv4)=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-V685/686/686B's IP address. Specify
0.0.0.0 to delete default gateway setting. Default gateway of IPv6 can not be set.
Allowed user admin
Getting Host Name from VN-V685/686/686B
Format /api/param?network.hostname
Example of Response network.hostname=localhost&200 OK