how to configure team on liunx,RHEL7.x/Centos7.x

#install team sofeware

yum install teamd -y

#check team configuration

nmcli con show

#Next we create a team called team0.

nmcli con add type team con-name team0

#better active/standby, need switch support.

nmcli connection add type team con-name team0 ifname team0 config '{"runner": {"name": "activebackup"}}'

#add interface enp6s0f0 to team0

nmcli connection add type team-slave con-name team-p0 ifname enp6s0f0 master team0

#add static ip address to team0

nmcli connection modify team0 ipv4.method manual ipv4.addresses "172.30.28.52/24"

( nmcli connection modify team0 ipv4.addresses "172.30.28.42/24" )

#add default gateway to team0

nmcli connection modify team0 ipv4.gateway "172.30.28.1"

#make team up

nmcli connection up team0

#add another interface enp6s0f1 to team0

nmcli connection add type team-slave con-name team-p1 ifname enp6s0f1 master team0

service network restart

#check team status

nmcli con show team0

teamdctl team0 state