[ovs-discuss] multiple mirrors on bridge

Em Iscreant emiscreant at gmail.com
Tue Sep 25 19:57:11 UTC 2012


I am trying to add multiple mirrors on a bridge.  I was able to do
this easily on previous version of open-vswitch, but with an recent
open-vswitch upgrade my reliable recipe no longer works.  Now, I am
using the following command:

sudo ovs-vsctl -- set Bridge ent_switch mirrors=@m -- --id=@eth0 get
Port eth0 -- --id=@ni get Port ni_ent_mon_if -- --id=@m create Mirror
name=ni-ent select-src-port=@eth0 output-port=@ni

This works, but now the second command simply overwrites it in the database:

sudo ovs-vsctl -- set Bridge ent_switch mirrors=@m -- --id=@eth0 get
Port eth0 -- --id=@ntop get Port ntop_ent_mon_if -- --id=@m create
Mirror name=ntop-ent select-src-port=@eth0 output-port=@ntop

I seem to recall reading that a bridge could support up to 32 mirrors.
 So how do amend the second command to add, rather than replace, a
mirror?

Thanks



More information about the discuss mailing list