LinuxCommandLibrary

ifstatus

OpenWRT utility that displays network interface status in JSON format

TLDR

Display interface status in JSON format

$ ifstatus [interface_name]
copy
Display help
$ ifstatus
copy

SYNOPSIS

ifstatus interface

DESCRIPTION

ifstatus is an OpenWRT utility that displays network interface status in JSON format. It queries the netifd (network interface daemon) for detailed information about interface configuration and state.
The output includes IP addresses, DNS servers, connection state, protocol type, and other interface-specific information in a machine-readable format suitable for scripts and automation.

PARAMETERS

interface

Name of the network interface to query

CAVEATS

Only available on OpenWRT/LEDE systems. Interface names correspond to netifd logical interfaces, not kernel device names. Requires netifd to be running.

HISTORY

ifstatus is part of netifd, the OpenWRT network interface daemon introduced in OpenWRT 12.09 (Attitude Adjustment). It replaced the older hotplug-based network configuration system with a more robust daemon-based approach.

SEE ALSO

ubus(1), uci(1), netifd(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community