From http://openvswitch.org/support/dist-docs/ovs-vsctl.8.txt , can you try the 
following?

To mirror traffic on ports eth0 and eth1 on port mirror sniff0:

ovs-vsctl -- set Bridge br-int mirrors=@m \
-- --id=@eth0 get Port eth0 \
-- --id=@eth1 get Port eth1 \
-- --id=@sniff0 get Port sniff0 \
--    --id=@m    create    Mirror    name=mymirror   
select-dst-port=@eth0,@eth1 \
select-src-port=@eth0,@eth1 output-port=@sniff0 select_all=1


-Kaustubh


From: Priyanka [mailto:ppn...@cse.iitb.ac.in]
Sent: Friday, May 20, 2016 5:43 AM
To: OpenStack Mailing List <openstack@lists.openstack.org>
Subject: [Openstack] add new ports to port mirror

Hi,

I am having port mirror on br-int of compute node to capture traffic from VM. 
Can I add new ports (i.e. of a new VM) to an existing port mirror? If so, what 
command do I need to use?


Thanks,

Priyanka

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to