Hi Justin,

I have the same question with Girish, so i only find the following
descriptin in vsctl manual page:

*Port Mirroring*
*Mirror all packets received o r sent on eth0 or eth1 onto eth2, assuming
that all of those ports exist on*
*bridge br0 (as a side-effect this causes any packets received on eth2 to
be ignored):*
*ovs-vsctl -- set Bridge br0 mirrors=@m \*
*-- --id=@eth0 get Port eth0 \*
*-- --id=@eth1 get Port eth1 \*
*-- --id=@eth2 get Port eth2 \*
*-- --id=@m create Mirror name=mymirror select-dst-port=@eth0,@eth1
select-srcport=@eth0,@eth1 output-port=@eth2*

there is no any vlan in above command, and in ovs-vswitchd.conf.db.5, there
is an *output_vlan* in mirror table, but i still confuse how to setup
RSPAN, so could u please give me a simple example?

Thanks a lot,
Kris


On Sat, Jun 2, 2012 at 12:51 AM, Justin Pettit <jpet...@nicira.com> wrote:

> What have you tried?  The ovs-vsctl man page provides an example of
> setting up a port mirror.  From this, you should be able to extrapolate how
> to configure a VLAN mirror based on the documentation in the
> ovs-vswitchd.conf.db man page.
>
> --Justin
>
>
> On Jun 1, 2012, at 2:38 AM, Girish Kumar Yerra wrote:
>
> > Hi All,
> >
> > We have a problem where we have two machines running OVS instances. And,
> we are trying to configure a mirror port using RSPAN to mirror packets
> captured from OVS port on source machine to OVS port on target machine.
> >
> > We are unable to configure the port mirroring using RSPAN. Please give
> us some examples or commands/options.
> >
> > Any help in this regard is highly appreciated.
> >
> > --
> > Thanks & Regards,
> > Girish
> >
> > _______________________________________________
> > dev mailing list
> > dev@openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to