LinuxCommandLibrary

ifstatus

Check the status of network interfaces

TLDR

Display interface status

$ ifstatus [interface_name]
copy

Display help
$ ifstatus
copy

SYNOPSIS

ifstatus [interface]

PARAMETERS

interface
    The name of the network interface to display the status for. If no interface is specified, all interfaces managed by netifd are shown.

DESCRIPTION

The ifstatus command, often associated with specific network management frameworks like netifd (used in OpenWRT and similar systems), is used to display the current status of network interfaces. Unlike the standard ifconfig or ip commands, ifstatus is usually tailored to interact with the configuration managed by netifd, providing a more human-readable and context-aware output.

The output typically includes information such as the interface's current state (e.g., up, down), IP address(es), MAC address, assigned IPv6 addresses and routes, DNS server configuration, and various flags indicating its operational parameters. The specific information displayed can vary depending on the version of ifstatus and the underlying network configuration. ifstatus is most helpful in environments where netifd is used, because it can directly report the settings it has applied to interfaces.

CAVEATS

The ifstatus command is not part of standard Linux distributions and is primarily used in systems employing the netifd network management daemon. Its availability and behavior depend heavily on the specific environment where it is installed.

EXAMPLE USAGE

ifstatus eth0: Displays the status of the eth0 interface.
ifstatus: Displays the status of all network interfaces managed by netifd.

OUTPUT INTERPRETATION

The exact format of the output depends on the implementation of ifstatus. However, it commonly includes the interface's operational state (UP/DOWN), assigned IP addresses (IPv4 and IPv6), link status, and possibly other relevant configuration details managed by netifd.

SEE ALSO

ifconfig(8), ip(8), netifd

Copied to clipboard