[ovs-discuss] Problems with SPAN
Ben Pfaff
blp at nicira.com
Wed Aug 25 17:08:36 UTC 2010
On Tue, Aug 24, 2010 at 01:28:58PM +0200, Michael Stegk wrote:
> I have installed the openvswitch kernelmodule on debian with xen .
> I have Problems setting up a mirror Port on OpenvSwitch.
> Here is what i try:
>
> $ovs-vsctl list port
> ...
> _uuid : a7fd3df2-d7bf-4a92-8133-22d9e7528338
> bond_downdelay : 0
> bond_fake_iface : false
> bond_updelay : 0
> external_ids : {}
> fake_bridge : false
> interfaces : [cc7f02ab-614e-41c7-80eb-85af352a448c]
> mac : []
> name : "vif8.0"
> other_config : {}
> tag : []
> trunks : []
> ...
>
> $ovs-vsctl create mirror name=mirror3 select_all=1
> output_port=a7fd3df2-d7bf-4a92-8133-22d9e7528338
> $ovs-vsctl list mirror
You have to also add the mirror to the bridge, e.g.
ovs-vsctl add bridge br0 mirrors a7fd3df2-d7bf-4a92-8133-22d9e7528338
You can create the mirror and add it to the bridge in one step:
ovs-vsctl -- --id=@m create mirror name=mirror3 select_all=1 \
-- add bridge br0 mirrors @m
More information about the discuss
mailing list