[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

END

posted @ 2020-03-31 10:35  LeoShi2020  阅读(2312)  评论(0编辑  收藏  举报