networkctl
TLDR
List all network links with status
SYNOPSIS
networkctl [OPTIONS] COMMAND [LINK...]
DESCRIPTION
networkctl queries and controls the state of network links as seen by systemd-networkd. It provides administrative control over network interfaces managed by the systemd networking daemon.
PARAMETERS
-a, --all
Show all links with status-s, --stats
Include link statistics-l, --full
Disable output truncation-n, --lines=NUM
Control journal output lines (default: 10)--json=MODE
Format output as JSON (short/pretty/off)--drop-in=NAME
Edit drop-in configuration files--no-reload
Skip service reload after editing
COMMANDS
list [PATTERN]
Display existing links with status; supports pattern matchingstatus [LINK]
Show detailed link information including type, state, DNS, and IPslldp [LINK]
Display discovered LLDP neighbor informationlabel
Show numerical address labels for address selectiondelete LINK
Remove virtual network devicesup LINK
Activate network devicesdown LINK
Deactivate network devicesrenew LINK
Refresh dynamic configurations (DHCP addresses)forcerenew LINK
Trigger DHCP reconfiguration on connected clientsreconfigure LINK
Reapply network interface settingsreload
Reload .netdev and .network configuration filesedit FILE
Modify network configuration filescat FILE
Display network configuration file contents
CAVEATS
This tool manages interfaces through systemd-networkd, not NetworkManager. Configuration files are stored in /etc/systemd/network/. Changes made with reload require reconfigure to take effect on running interfaces.
HISTORY
Part of systemd, networkctl was introduced to provide command-line management of systemd-networkd network configuration, offering an alternative to NetworkManager for server and embedded systems.
SEE ALSO
systemd-networkd.service(8), systemd.network(5), systemd.netdev(5), ip(8)


