[ovs-discuss] Flows unmodified after clearing mirror

kunapaneni prashanth prask9 at gmail.com
Mon Jun 22 09:09:19 UTC 2015


Retrying.

Did anyone face same issue?



On Thu, Jun 11, 2015 at 4:25 PM, kunapaneni prashanth <prask9 at gmail.com> wrote:
> Hello,
>  i am trying SPAN in openvswitch 2.3.0, by mirroring source traffic of
> oct0 to output on port oct1.
>
> After i start traffic, i can see packets in oct1. While  traffic is
> running, i cleared the mirror. But still see mirroring happening.
> Mirroring stops only after i stop and start traffic again. is this a
> bug?
>
>
> Mirror creation:
>
> ovs-vsctl -- set Bridge br0 mirrors=@m  -- --id=@h0 get Port oct0  --
> --id=@h1 get Port oct1  -- --id=@m create Mirror name=mymirror
> select-src-p
> ort=@h0 output-port=@h1
> dc075662-e0f6-406f-a8e6-142ccbbdc287
> ~ #
>
> Flows  with mirroring:
>
> ~ # ovs-dpctl dump-flows
> recirc_id(0),skb_priority(0),in_port(3),eth(src=00:0f:b7:84:e6:d8,dst=00:0f:b7:84:39:6a),eth_type(0x0800),ipv4(src=10.10.10.2/0.0.0.0,dst=10.10.10.3/0.0.0.0,proto=1/0,tos=0/0,ttl=64/0,frag=no/0xff),
> packets:123380, bytes:12091240, used:0.000s, actions:2
> recirc_id(0),skb_priority(0),in_port(2),eth(src=00:0f:b7:84:39:6a,dst=00:0f:b7:84:e6:d8),eth_type(0x0800),ipv4(src=10.10.10.3/0.0.0.0,dst=10.10.10.2/0.0.0.0,proto=1/0,tos=0/0,ttl=64/0,frag=no/0xff),
> packets:123380, bytes:12091240, used:0.000s, actions:3,4
>
>
> Mirror delete:
> #ovs-vsctl clear bridge br0 mirrors
>
>
> Flows after mirror clear
> ~ #
> ~ # ovs-dpctl dump-flows
> recirc_id(0),skb_priority(0),in_port(3),eth(src=00:0f:b7:84:e6:d8,dst=00:0f:b7:84:39:6a),eth_type(0x0800),ipv4(src=10.10.10.2/0.0.0.0,dst=10.10.10.3/0.0.0.0,proto=1/0,tos=0/0,ttl=64/0,frag=no/0xff),
> packets:127517, bytes:12496666, used:0.000s, actions:2
> recirc_id(0),skb_priority(0),in_port(2),eth(src=00:0f:b7:84:39:6a,dst=00:0f:b7:84:e6:d8),eth_type(0x0800),ipv4(src=10.10.10.3/0.0.0.0,dst=10.10.10.2/0.0.0.0,proto=1/0,tos=0/0,ttl=64/0,frag=no/0xff),
> packets:127517, bytes:12496666, used:0.001s, actions:3,4
> ~ #
>
>
> ~ # ovs-dpctl show
> system at ovs-system:
>         lookups: hit:84810774 missed:6330 lost:0
>         flows: 2
>         masks: hit:84819861 total:1 hit/pkt:1.00
>         port 0: ovs-system (internal)
>         port 1: br0 (internal)
>         port 2: oct0
>         port 3: poct0
>         port 4: oct1
>
>
> Thanks,
> Prashanth



More information about the discuss mailing list