[Openstack] add new ports to port mirror

Kaustubh Kelkar kaustubh.kelkar at casa-systems.com
Fri May 20 15:29:24 UTC 2016


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, at eth1 \
select-src-port=@eth0, at eth1 output-port=@sniff0 select_all=1


-Kaustubh


From: Priyanka [mailto:ppnaik at cse.iitb.ac.in]
Sent: Friday, May 20, 2016 5:43 AM
To: OpenStack Mailing List <openstack at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160520/e4c32316/attachment.html>


More information about the Openstack mailing list