logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

netplan-status - query networking state of the running system

Authors

       Danilo Egea Gondolfo (danilo.egea.gondolfo@canonical.com).

                                                                                               NETPLAN-STATUS(8)

Description

netplanstatus[interface]  queries the current network configuration and displays it in human-readable
       format.

       You can specify interface to display the status of a specific interface.

       Currently, netplanstatus depends on systemd-networkd as a source of data and will try  to  start  it  if
       it's not masked.

Name

       netplan-status - query networking state of the running system

Options

       -h, --help
              Print basic help.

       --debug
              Print debugging output during the process.

       -a, --all
              Show all interface data including inactive.

       --diff Analyse  and  display differences between the current system configuration and network definitions
              present in the YAML  files.   The  configuration  analysed  includes  IP  addresses,  routes,  MAC
              addresses, DNS addresses, search domains and missing network interfaces.

              The output format is similar to popular diff tools, such diff and git diff.  Configuration present
              only in the system (and therefore missing in the Netplan YAML) will be displayed with a + sign and
              will be highlighted in green.  Configuration present only in Netplan (and therefore missing in the
              system)  will  be  displayed with a - sign and highlighted in red.  The same is applied to network
              interfaces.

       --diff-only
              Same as --diff but omits all the information that is not a difference.

       --root-dir
              Read YAML files from this root instead of /.

       --verbose
              Show extra information.

       -f FORMAT, --format FORMAT
              Output in machine-readable json or yaml format.

See Also

netplan(5), netplan-get(8), netplan-ip(8)

Synopsis

netplan [--debug] status-h|--helpnetplan [--debug] status [interface]

See Also