Your configuration is successful. It has returned uuid of newly created mirror 
table entry. You may  dump ovsdb tables to check mirror table(and its stats)
command - “ovsdb-client dump Open_vSwitch” or “ovs-vsctl list mirror”

And also can check  flow table dumps to see  if packets are flowing to/from 
vif208.1

Regards,
Venu

From: [email protected] 
[mailto:[email protected]] On Behalf Of LuisMi Cruz
Sent: 26 May 2017 14:41
To: [email protected]
Subject: [ovs-discuss] Help needed to mirror a port

Hello all,

This message might a very common question I think but I wouldn't be here if I 
am not fully desperate.

I am trying to do a simple port mirror and it is not working.

The scenario is:
Bridge: xapi3
Source port  vif208.1
Destination port vif210.2

# ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.3.2
Compiled Feb 16 2017 14:07:50
DB Schema 7.6.2

I can't change the version, just in case someone is thinking on a potential 
upgrade.

I executed the next command:

ovs-vsctl -- set Bridge xapi3 mirrors=@m \
              -- [email protected]<mailto:[email protected]> get Port vif208.1 \
              -- [email protected]<mailto:[email protected]> get Port vif210.2 \
              -- --id=@m create Mirror name=mymirror 
[email protected]<mailto:[email protected]> 
[email protected]<mailto:[email protected]> 
[email protected]<mailto:[email protected]>

The system didn't return any error, only this:
28745af3-2c7f-4675-ad9e-a7459cdf3eda

Is that a new bridge? new interface?
How can I see the status of the mirror?
Any idea why this is not working?

Whatever is replied would be useful.
Thanks
Luis
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to