# netplan-status - query networking state of the running system - man(8) - [phpMan]

[_NETPLAN-STATUS_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN-STATUS/8/markdown)                                                                  [_NETPLAN-STATUS_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN-STATUS/8/markdown)

## NAME
       **netplan-status **- query networking state of the running system

## SYNOPSIS
       **netplan **[_--debug_] **status -h**|**--help**

       **netplan **[_--debug_] **status **[_interface_]

## DESCRIPTION
       **netplan  status  [interface] **queries the current network configuration and displays it in hu‐
       man-readable format.

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

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

## 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  ad‐
              dresses,  routes, MAC addresses, DNS addresses, search domains and missing network in‐
              terfaces.

              The output format is similar to popular diff tools, such **diff **and **git diff**.   Configu‐
              ration  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)](https://www.chedong.com/phpMan.php/man/netplan/5/markdown), [**netplan-get**(8)](https://www.chedong.com/phpMan.php/man/netplan-get/8/markdown), [**netplan-ip**(8)](https://www.chedong.com/phpMan.php/man/netplan-ip/8/markdown)

## AUTHORS
       Danilo Egea Gondolfo (<danilo.egea.gondolfo@canonical.com>).

                                                                                   [_NETPLAN-STATUS_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN-STATUS/8/markdown)
