Linux NetworkManager

device

nmcli device NIC状態確認
nmcli device disconnect device名 NIC無効化
nmcli device connect device名 NIC有効化

connection

nmcli connection show
nmcli connection add 接続 type ethernet
ifname device名
con-name device名
nmcli connection delete
nmcli connection modify
nmcli connection up
nmcli connection down