openvswitch 流表测试 ovs-appctl

时间:2020-02-29 03:34:04   收藏:0   阅读:337
[root@ostack170 ~]# ovs-appctl ofproto/trace br-mirror in_port=1,dl_vlan=202,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef
Bridge: br-mirror
Flow: in_port=1,dl_vlan=202,dl_vlan_pcp=0,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef,dl_type=0x0000

Rule: table=0 cookie=0 priority=1
OpenFlow actions=resubmit(,3)

        Resubmitted flow: in_port=1,dl_vlan=202,dl_vlan_pcp=0,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef,dl_type=0x0000
        Resubmitted regs: reg0=0x0 reg1=0x0 reg2=0x0 reg3=0x0 reg4=0x0 reg5=0x0 reg6=0x0 reg7=0x0
        Resubmitted  odp: drop
        Resubmitted megaflow: recirc_id=0,in_port=1,dl_src=74:ea:cb:5d:e4:ee,dl_type=0x0000
        Rule: table=3 cookie=0 priority=1
        OpenFlow actions=NORMAL
        learned port is input port, dropping

Final flow: in_port=1,dl_vlan=202,dl_vlan_pcp=0,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef,dl_type=0x0000
Megaflow: recirc_id=0,in_port=1,dl_vlan=202,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef,dl_type=0x0000
Datapath actions: drop

 

原文:https://www.cnblogs.com/wangjq19920210/p/12380729.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!