[ovs-discuss] Another ovs-vsctl Question

Ben Pfaff blp at nicira.com
Tue Sep 14 21:53:01 UTC 2010

On Mon, Sep 13, 2010 at 04:03:13PM -0600, Nick Couchman wrote:
> 1) What's the best way to go about creating a port mirror using
> ovs-vsctl with ovsdb?

I would use something like this:

        ovs-vsctl \
                 -- --id=@x create mirror name=mir0 ...other configuration... \
                 -- add bridge br0 mirrors @x

You would need to specify at least an out_port as part of ...other
configuration...  Unfortunately ports have to currently be specified by
uuid; eventually I'll make that easier.

> 2) Is there any updated documentation, or plans to update
> documentation, with examples or further information on how to
> accomplish these tasks?  Back in the pre-OVSDB days, the ovs-vsctl and
> ovs-vswitchd.conf man pages had pretty thorough information on tasks
> like sFlow/NetFlow configuration, Virtual/Internal ports, and port
> mirroring.  Apparently those examples have not yet been ported over to
> OVSDB commands.  I'm happy to help by adding these things to man
> pages, I just need to figure out how to do them, myself.

It's a weakness in the current documentation.  I'd be happy to add
examples, if you would like to write some.  This webpage also has a few

More information about the discuss mailing list