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
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
Allowed user admin
Getting Host Name from VN-V685/686/686B
Format /api/param?network.hostname
Example of Response network.hostname=localhost&200 OK
81