API
Obtain Balance LAN Status
Avaliable in 7.1.0 or later
Input Parameters
Type | Notation | Mandatory | Description | |
id | Array | <numlist> | optional | list the LAN information base on id, multiple value is accepted, if id is absent, all LAN will be return |
Return Parameters
Return JSON
Type | Notation | Description | |
order | Array | list of <profile_id> | The list of the client object. |
<profile_id> | Object | <LAN_Status_Obj> | LAN status information |
<LAN_Status_Obj>
Type | Notation | Description | |
name | String | <string> | LAN / VLAN Name |
vlanId | Number | [ 1, 4094 ] | VLAN ID. This field will not appear if vlanId is empty |
ip | String | <ipv4> | IP address |
mask | Number | <maskn> | Subnet Mask |
cURL Example
curl -b cookies.txt http://192.168.1.1/api/status.lan.profile
{ "stat": "ok", "response": { "0": { "ip": "10.6.1.231", "mask": 16 }, "1": { "name": "Name 1", "ip": "10.6.1.231", "vlanId": 164, "mask": 16 }, "order": [ 0, 1 ] } }