跳转至

nmcli

#  bond4
nmcli connection add type bond con-name bond0 ifname bond0 bond.options "mode=802.3ad"

# bond1
nmcli connection add con-name bond0 ifname bond0 type bond mode active-backup

# 7 种 bond 模式
# Requires static EtherChannel enabled, not Link Aggregation Control Protocol (LACP)-negotiated.
0 - balance-rr 
# No configuration required on the switch.
1 - active-backup 
# Requires static EtherChannel enabled, not LACP-negotiated.
2 - balance-xor
# Requires static EtherChannel enabled, not LACP-negotiated.
3 - broadcast
# Requires LACP-negotiated EtherChannel enabled.
4 - 802.3ad
# No configuration required on the switch.
5 - balance-tlb
# No configuration required on the switch.
6 - balance-alb
作者: aisuhua