lan¶
ibox.lan in the library, ibox lan in the CLI.
LAN network settings, interfaces, and connected devices.
parameters ¶
Get LAN parameters
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
flag
|
str
|
filter expression for parameters. Default is "bridge enabled && !wan" to get parameters of the LAN bridge interface only. |
'bridge enabled && !wan'
|
ethernet_port ¶
Get Ethernet port information
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
port
|
int
|
Ethernet port number (0-4) |
4
|
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
response content |
mac_lookup ¶
Lookup whether a MAC address is known in the LAN.
Returns Wi-Fi or Ethernet port information if found.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mac
|
str
|
MAC address to look up |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
response content |