• 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]# 
  • 相关阅读:
    归并排序的go语言与C++实现对比
    Telnet服务器和域名系统的端口号 Mac OS X
    kali linux 更新软件源,安装中文输入法,修复Linux与windows引导菜单解决windows引导丢失
    运行CImg库笔记
    解决没有X11/Xlib.h 的错误
    Mac 下office 2013制作组合表
    小程序-极其简单的表单验证使用方式
    小程序-可通用的目录栏组件
    小程序-自定义返回顶部组件
    小程序-获取用户信息
  • 原文地址:https://www.cnblogs.com/dream397/p/13275062.html
Copyright © 2020-2023  润新知