# 啟用接口中的網(wǎng)卡
[root@server0 ~]# nmcli connection up team-port1;nmcli connection up team-port2
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/25)
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/26)
[root@server0 ~]# teamdctl team0 state view
setup:
runner: activebackup
ports: ens34
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up ens35
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner: active port: ens34 //當(dāng)前team0的主接口