# netplan - man(8) - [phpMan]

[_NETPLAN_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN/8/markdown)                             System Manager's Manual                            [_NETPLAN_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN/8/markdown)

## NAME
       **netplan **- Netplan runtime CLI

## SYNOPSIS
       **netplan **[--debug ] [generate|apply|try|get|set|status]

## DESCRIPTION
       This manual page provides an overview of the Netplan runtime CLI commands.

## OPTIONS
### --debug
              Enable debug messages

## EXAMPLES
       **netplan generate **converts Netplan YAML into configuration files understood by the back ends (
       [**systemd-networkd**(8)](https://www.chedong.com/phpMan.php/man/systemd-networkd/8/markdown) or [**NetworkManager**(8)](https://www.chedong.com/phpMan.php/man/NetworkManager/8/markdown) ). It does not apply the generated configuration.

       **netplan apply **applies the current Netplan configuration to a running system.

       **netplan try **[ --timeout 120 ] takes a [**netplan**(5)](https://www.chedong.com/phpMan.php/man/netplan/5/markdown) configuration, applies it, and automatically
       rolls it back if the user does not confirm the configuration within a time limit.

       **netplan  get  **[  network.ethernets.eth0 ] reads YAML files from /{etc,lib,run}/netplan/*.yaml
       and returns a merged view of the current configuration.

       **netplan set **[ network.ethernets.eth0={dhcp4: true, dhcp6: true} ] writes  a  given  key/value
       pair or JSON struct into a YAML file in /etc/netplan/ and validates its format.

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

## FILES
### /etc/netplan/
              Directory with YAML configuration files, describing the network configuration.

## SEE ALSO
       [**netplan**(5)](https://www.chedong.com/phpMan.php/man/netplan/5/markdown),  [**netplan-generate**(8)](https://www.chedong.com/phpMan.php/man/netplan-generate/8/markdown),  [**netplan-apply**(8)](https://www.chedong.com/phpMan.php/man/netplan-apply/8/markdown), [**netplan-try**(8)](https://www.chedong.com/phpMan.php/man/netplan-try/8/markdown), [**netplan-get**(8)](https://www.chedong.com/phpMan.php/man/netplan-get/8/markdown), **netplan-**
       [**set**(8)](https://www.chedong.com/phpMan.php/man/set/8/markdown), [**netplan-status**(8)](https://www.chedong.com/phpMan.php/man/netplan-status/8/markdown).

## AUTHOR
       Lukas Märdian (<slyon@ubuntu.com>).

                                           23 January 2025                                [_NETPLAN_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN/8/markdown)
