Usage: nmcli device modify { ARGUMENTS | help }
![](/@@/translation-newline)
ARGUMENTS := <ifname> ([+|-]<setting>.<property> <value>)+
![](/@@/translation-newline)
Modify one or more properties that are currently active on the device without modifying
![](/@@/translation-newline)
the connection profile. The changes have immediate effect. For multi-valued
![](/@@/translation-newline)
properties you can use optional '+' or '-' prefix to the property name.
![](/@@/translation-newline)
The '+' sign allows appending items instead of overwriting the whole value.
![](/@@/translation-newline)
The '-' sign allows removing selected items instead of the whole value.
![](/@@/translation-newline)
Examples:
![](/@@/translation-newline)
nmcli dev mod em1 ipv4.method manual ipv4.addr "192.168.1.2/24, 10.10.1.5/8"
![](/@@/translation-newline)
nmcli dev mod em1 +ipv4.dns 8.8.4.4
![](/@@/translation-newline)
nmcli dev mod em1 -ipv4.dns 1
![](/@@/translation-newline)
nmcli dev mod em1 -ipv6.addr "abbe::cafe/56"