On Tue, Oct 08, 2013 at 05:39:27PM +0000, carlopmart wrote: > I am doing some tests with openvswitch in a CentOS 6.4 host all goes > pretty well until now. > > I have configured a port mirroring in a ovs using the following command: > > ovs-vsctl -- set Bridge br0 mirrors=@m,@n -- --id=@eth0 get Port eth0 -- > --id=@vnet1 get Port vnet1 -- --id=@vnet2 get Port vnet2 -- --id=@m > create Mirror name=mirror0 select-dst-port=@eth0 select-src-port=@eth0 > output-port=@vnet1 -- --id=@n create Mirror name=mirror1 > select-dst-port=@eth0 select-src-port=@eth0 output-port=@vnet2 > > But using this configuration ovs mirrors ingress and egress traffic. is > it possible to mirror only ingress or egress traffice to avoid duplicate > packets??
Yes, use only select-src-port or select-dst-port. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
