[Openstack] add new ports to port mirror

Priyanka ppnaik at cse.iitb.ac.in
Mon May 23 04:06:36 UTC 2016


Hi,

I have used this command to create the port mirror. How can I mirror a 
new port too say eth2 on this existing port mirror (sniff0)?

Thanks,

Priyanka

On Friday 20 May 2016 08:59 PM, Kaustubh Kelkar wrote:
>
> 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/20160523/d22fb27f/attachment.html>


More information about the Openstack mailing list