1、列出bond
ovs-appctl bond/list
[root@test~]# ovs-appctl bond/list
bond type recircID slaves
bond1 balance-tcp 1 eth3, eth1
2、显示bond的简要信息
ovs-appctl bond/show bond名字
[root@test ~]# ovs-appctl bond/show bond1
---- bond1 ----
bond_mode: balance-tcp
bond may use recirculation: yes, Recirc-ID : 1
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 1362 ms
lacp_status: negotiated
active slave mac: 11:7b:44:b1:74:e0(eth1)
3、获取bond的更多信息
ovs-appctl lacp/show bond名字
[root@test ~]# ovs-appctl lacp/show bond0
no such lacp object
ovs-appctl: ovs-vswitchd: server returned an error
4、ovs加bonding的命令:
ovs-vsctl add-bond <bridge name> <bond name> <list of interfaces>
5、在bond接口上使能lacp
ovs-vsctl set port bond0 lacp=active