OPENVSWITCH - Playing with Bonding on Openvswitch(二)

[root@bogon v10]# ovs-vsctl add-bond br0 bon0 enahisic2i1 enahisic2i3 trunks=10,20
[root@bogon v10]# ovs-appctl bond/show bond0
no such bond
ovs-appctl: ovs-vswitchd: server returned an error
[root@bogon v10]# ovs-vsctl show 
153bc919-e549-4c26-bc18-8ebc22b32581
    Bridge "br0"
        Port "vlan20"
            tag: 20
            Interface "vlan20"
                type: internal
        Port "vlan10"
            tag: 10
            Interface "vlan10"
                type: internal
        Port "br0"
            Interface "br0"
                type: internal
        Port "bon0"
            trunks: [10, 20]
            Interface "enahisic2i3"
            Interface "enahisic2i1"
    ovs_version: "2.12.0"
[root@bogon v10]# ovs-vsctl del-port br0 bon0
[root@bogon v10]# ovs-vsctl show 
153bc919-e549-4c26-bc18-8ebc22b32581
    Bridge "br0"
        Port "vlan20"
            tag: 20
            Interface "vlan20"
                type: internal
        Port "vlan10"
            tag: 10
            Interface "vlan10"
                type: internal
        Port "br0"
            Interface "br0"
                type: internal
    ovs_version: "2.12.0"
[root@bogon v10]# 

 

posted on 2020-05-21 19:15  tycoon3  阅读(160)  评论(0编辑  收藏  举报

导航