vtep-ctl unbind-ls

 

[root@kunpeng82 scripts]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br1"
        Port "br1"
            Interface "br1"
                type: internal
    Bridge "br0_vtep_ls1"
        Port "br0_vtep_ls1"
            Interface "br0_vtep_ls1"
                type: internal
        Port "vx1"
            Interface "vx1"
                type: vxlan
                options: {key="33", remote_ip="192.168.16.81"}
        Port "0100-tortap2-l"
            Interface "0100-tortap2-l"
                type: patch
                options: {peer="0100-tortap2-p"}
        Port "0000-tortap1-l"
            Interface "0000-tortap1-l"
                type: patch
                options: {peer="0000-tortap1-p"}
    Bridge "br0_vtep_ls2"
        Port "vx3"
            Interface "vx3"
                type: vxlan
                options: {key="44", remote_ip="192.168.16.83"}
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "br0_vtep_ls2"
            Interface "br0_vtep_ls2"
                type: internal
    Bridge vtep_bfd
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
        Port "bfd192.168.16.81"
            Interface "bfd192.168.16.81"
                type: vxlan
                options: {remote_ip="192.168.16.81"}
        Port "bfd192.168.16.83"
            Interface "bfd192.168.16.83"
                type: vxlan
                options: {remote_ip="192.168.16.83"}
    Bridge "br0"
        Port "0100-tortap2-p"
            Interface "0100-tortap2-p"
                type: patch
                options: {peer="0100-tortap2-l"}
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "tortap3"
            Interface "tortap3"
        Port "0000-tortap1-p"
            Interface "0000-tortap1-p"
                type: patch
                options: {peer="0000-tortap1-l"}
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0"
[root@kunpeng82 scripts]# vtep-ctl unbind-ls br0 tortap1 0 ls1
vtep-ctl: 'unbind-ls' command takes at most 3 arguments
[root@kunpeng82 scripts]# vtep-ctl unbind-ls br0 tortap1  ls1
vtep-ctl: no binding for vlan ls1
[root@kunpeng82 scripts]# vtep-ctl unbind-ls br0 tortap1  0
[root@kunpeng82 scripts]# vtep-ctl unbind-ls br0 tortap2  0
vtep-ctl: no binding for vlan 0
[root@kunpeng82 scripts]# vtep-ctl unbind-ls br0 tortap2  100
[root@kunpeng82 scripts]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br1"
        Port "br1"
            Interface "br1"
                type: internal
    Bridge "br0_vtep_ls2"        br0_vtep_ls1不存在了
        Port "vx3"
            Interface "vx3"
                type: vxlan
                options: {key="44", remote_ip="192.168.16.83"}
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "br0_vtep_ls2"
            Interface "br0_vtep_ls2"
                type: internal
    Bridge vtep_bfd
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
        Port "bfd192.168.16.83"
            Interface "bfd192.168.16.83"
                type: vxlan
                options: {remote_ip="192.168.16.83"}
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "tortap3"
            Interface "tortap3"
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0"
[root@kunpeng82 scripts]# 

 

你可能感兴趣的:(vtep-ctl unbind-ls)