Contents
How use Nmcli Linux?
nmcli is a command-line tool which is used for controlling NetworkManager. nmcli commnad can also be used to display network device status, create, edit, activate/deactivate, and delete network connections. Typical Uses: Scripts: Instead of manually managing the network connections it utilize NetworkMaager via nmcli.
How do I connect to Nmcli?
The most common are:
- type (the connection.type property) nmcli c add type bond.
- ifname (the connection.interface-name property) nmcli c add ifname enp1s0.
- con-name (the connection.id property) nmcli c add con-name “My Connection”