#nmcli connection show
Its oupt show the used interface
#nmcli connection add con-name team0 type team ifname team0
config ‘{“runner”:{“name”:”activebackup”}}’
#nmcli connection modify team0 ipv4.addresses ’10.100.2.6/24
10.100.2.1’ ipv4.method manual
#nmcli connection add con-name team0-slave1 type team-slave
ifname en01 master team0
#nmcli connection add con-name team0-slave2 type team-slave
ifname en02 master team0
#nmcli connection down team0-slave1
#nmcli connection down team0-slave2
#nmcli connection down team0
#nmcli connection up team0-slave1
#nmcli connection up team0-slave2
#nmcli connection up team0
#ifconfig
#nmcli connection show team0 | grep ipv4
#ping –I team0 10.100.2.1
#teamctl team0 state
Comments
Post a Comment