5. API for Acquiring/Changing Parameters of VN-E4 _
5.8. Network Basics
The APIs below are related to the basics of networks. These are equivalent to the features on the Basic page of the WEB setting page. Refer to
the instruction manual for details on the Basic page.
Enabling Network Setting Changes
Format
Example of Response
Interpretation
Allowed user
Acquiring DHCP Setting from VN-E4
Format
Example of Response
Interpretation
Allowed users
Setting DHCP for VN-E4
Format
Example
Example of Response
Interpretation
Allowed user
Acquiring IP Address from VN-E4
Format
Example of Response
Interpretation
Allowed users
/api/param?network.interface.status=restart
network.interface.status&200 OK
When network parameters are changed, this API can be used to enable the new settings. Changes will be not be
reflected in the actions until this API is used. VN-E4 will cut off the TCP connection when this API is used.
When this API is used upon changing IPv6, MTU, Negotiation, Timezone or SNMP, VN-E4 will reboot in
about 1 minute.
admin
/api/param?network.interface.dhcp.status
network.interface.dhcp.status=off&200 OK
Acquire the current DHCP setting.
admin, operator, user
/api/param?network.interface.dhcp.status=data
/api/param?network.interface.dhcp.status=on
network.interface.dhcp.status&202
Required(network.interface.status=restart)
Change the DHCP setting. Upon setting this API, execute the "network.interface.status=restart" API for
enabling network setting changes to enable the new settings. PPPoE will be turned off automatically when the
DHCP setting is set to on.
admin
/api/param?network.interface.ip
network.interface.ip=10.0.0.1&200 OK
Acquire the current IP address.
admin, operator, user
5.8. Network Basics
43