51
5. API for Acquiring/Changing Parameters of VN-E4 _
5.9. Network Details
Setting PPPoE Status to On/Off for VN-E4
Format
/api/param?network.interface.pppoe.status=data
Example
/api/param?network.interface.pppoe.status=on
Example of Response
network.interface.pppoe.status&202
Required(network.interface.status=restart)
Interpretation
Change the on/off status of PPPoE. Set to on or off. Upon changing PPPoE, VN-E4 will be rebooted using the
"network.interface.status=restart" API for enabling settings. As such, access will not be possible for about 1
minute. Additionally, the DHCP client feature will be turned off automatically when PPPoE is set to on.
Allowed user
admin
Acquiring PPPoE User Name from VN-E4
Format
/api/param?network.interface.pppoe.user
Example of Response
network.interface.pppoe.user=somename&200 OK
Interpretation
Acquire the PPPoE user name.
Allowed users
admin, operator
Setting PPPoE User Name for VN-E4
Format
/api/param?network.interface.pppoe.user=data
Example
/api/param?network.interface.pppoe.user=somename
Example of Response
network.interface.pppoe.user&202
Required(network.interface.status=restart)
Interpretation
Change the PPPoE user name. Set a user name that is within 60 bytes. Upon changing PPPoE, VN-E4 will be
rebooted using the "network.interface.status=restart" API for enabling settings. As such, access will not be
possible for about 1 minute.
Allowed user
admin
Setting PPPoE Password for VN-E4
Format
/api/param?network.interface.pppoe.password=data
Example
/api/param?network.interface.pppoe.password=someword
Example of Response
network.interface.pppoe.password&202
Required(network.interface.status=restart)
Interpretation
Change the password of PPPoE. Set a password that is within 60 bytes. Upon changing PPPoE, VN-E4 will be
rebooted using the "network.interface.status=restart" API for enabling settings. As such, access will not be
possible for about 1 minute. There is no API for acquiring passwords.
Allowed user
admin