[CentOS7]team模式切换
一键切换(慎用)
nmcli connection modify team0 config '{"runner":{"name":"activebackup"}}' &&
systemctl restart network &&
teamdctl nm-team state
team的四种模式
- broadcast (广播模式)
- activebackup (主备模式)
- roundrobin (轮训模式)
- loadbalance (负载均衡) LACP
team模式切换
[root@Develop ~]# teamdctl nm-team state
[root@Develop ~]# nmcli connection modify team0 config '{"runner":{"name":"activebackup"}}'
[root@Develop ~]# systemctl restart network