接口描述

获取RJ45有线网络状态信息

请求方式

GET

接口地址

/goform/goform_get_cmd_process

请求字段说明

参数名 类型 举例 描述 备注
isTest bool false 是否是测试模式 -
cmd string opms_wan_auto_mode,ethwan_mode,pppoe_username,pppoe_password,ethwan_dialmode,ppp_status,static_wan_ipaddr,static_wan_netmask,static_wan_gateway,static_wan_primary_dns,static_wan_secondary_dns,rj45_state,lan_ipaddr,lan_netmask 指令名称 固定值
multi_data integer 1 是否请求多行数据 固定值

正确返回

{
    "opms_wan_auto_mode": "",
    "ethwan_mode": "auto",
    "pppoe_username": "",
    "pppoe_password": "",
    "ethwan_dialmode": "auto",
    "ppp_status": "ppp_disconnected",
    "static_wan_ipaddr": "0.0.0.0",
    "static_wan_netmask": "0.0.0.0",
    "static_wan_gateway": "0.0.0.0",
    "static_wan_primary_dns": "0.0.0.0",
    "static_wan_secondary_dns": "0.0.0.0",
    "rj45_state": "",
    "lan_ipaddr": "192.168.0.1",
    "lan_netmask": "255.255.255.0"
}

results matching ""

    No results matching ""