Skip to content

lan

ibox.lan in the library, ibox lan in the CLI.

LAN network settings, interfaces, and connected devices.

mac

mac() -> str

Get MAC address

ipv4_network

ipv4_network() -> str

Get IPv4 network settings

ipv6_configuration

ipv6_configuration() -> str

Get IPv6 network settings

mibs

mibs() -> str

Get LAN MIBs

parameters

parameters(flag: str = 'bridge enabled && !wan') -> str

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

ethernet_port(port: int = 4) -> str

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

mac_lookup(mac: str) -> str

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