OS Manuals

/usr/bin/networkctl

The systemd System and Service Manager

From systemd 262.2-r1 (os), captured 2026-11-05 by running networkctl --help (exit 0). permalink

> networkctl [OPTION…] COMMAND …

Query and control the networking subsystem.

Commands:
  [list [PATTERN...]]                     List links
  status [PATTERN...]                     Show link status
  dhcp-lease INTERFACE [CODE[:FORMAT]...] Show DHCP lease
  lldp [PATTERN...]                       Show LLDP neighbors
  label                                   Show current address label entries in the kernel
  delete DEVICES...                       Delete virtual netdevs
  up DEVICES...                           Bring devices up
  down DEVICES...                         Bring devices down
  renew DEVICES...                        Renew dynamic configurations
  forcerenew DEVICES...                   Trigger DHCP reconfiguration of all connected clients
  reconfigure DEVICES...                  Reconfigure interfaces
  reload                                  Reload .network and .netdev files
  edit FILES|DEVICES...                   Edit network configuration files
  cat [FILES|DEVICES...]                  Show network configuration files
  mask FILES...                           Mask network configuration files
  unmask FILES...                         Unmask network configuration files
  persistent-storage BOOL                 Notify systemd-networkd if persistent storage is ready

Options:
  -h --help                               Show this help
     --version                            Show package version
     --no-pager                           Do not start a pager
     --no-legend                          Do not show headers and footers
     --no-ask-password                    Do not prompt for password
  -a --all                                Show status for all links
  -s --stats                              Show detailed link statistics
  -l --full                               Do not ellipsize output
  -n --lines=INTEGER                      Number of journal entries to show
     --json=FORMAT                        Generate JSON output (pretty, short, or off)
     --no-reload                          Do not reload systemd-networkd or systemd-udevd after
                                          editing network config
     --no-reconfigure                     Only reload config files, do not reconfigure network
                                          interfaces
     --drop-in=NAME                       Edit specified drop-in instead of main config file
     --runtime                            Edit runtime config files
     --stdin                              Read new contents of edited file from stdin

See the networkctl(1) man page for details.
Options (15)
OptionDescriptionSource
-h --helpShow this helphelp
--versionShow package versionhelp
--no-pagerDo not start a pagerhelp
--no-legendDo not show headers and footershelp
--no-ask-passwordDo not prompt for passwordhelp
-a --allShow status for all linkshelp
-s --statsShow detailed link statisticshelp
-l --fullDo not ellipsize outputhelp
-n --lines=INTEGERNumber of journal entries to showhelp
--json FORMATGenerate JSON output (pretty, short, or off)help
--no-reloadDo not reload systemd-networkd or systemd-udevd after editing network confighelp
--no-reconfigureOnly reload config files, do not reconfigure network interfaceshelp
--drop-in NAMEEdit specified drop-in instead of main config filehelp
--runtimeEdit runtime config fileshelp
--stdinRead new contents of edited file from stdinhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.