nmcli

nmcli

nmcli -f device,name connection show
nmcli connection modify example_profile connection.interface-name ""
nmcli connection modify example_profile match.interface-name "provider0 eno5"
nmcli connection up example_profile
nmcli connection modify example_profile match.interface-name "provider0"
[root@hpe-navix9 ~]# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 48:df:37:6b:95:4c brd ff:ff:ff:ff:ff:ff
    altname enp93s0f0
3: eno6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 48:df:37:6b:95:4d brd ff:ff:ff:ff:ff:ff
    altname enp93s0f1