# nmcli con mod "static" connection.autoconnect no 11. Specify a DNS server using nmcli con mod command as shown here: # nmcli con mod "static" ipv4.dns "1.1.1.1" 12. We can further add more values to a key by using the + or – symbol in front of the argument. We can also a...
#nmcli con add con-name custeth1 type ethernet ifname custeth1 ipv4.method auto When we add a new connection, thenmclicommand creates a new file in the/etc/sysconfig/network-scripts/directory and stores all configuration values. It uses the connection name as the file name with theifcfg-su...
Creating a new connection: nmcli connection add type [type] con-name [name] Modifying an existing connection: nmcli connection modify [name] [property] [value] Activating a connection: nmcli connection up [name] Deactivating a connection: nmcli connection down [name] Deleting a connection: nmcli ...
nmcli - – commandline tool for controlling NetworkManager | linux commands examples - Thousands of examples to help you to the Force of the Command Line. Discover every day !