hi guys,

I'm new to openvswitch and would like to ask about the port mirroring. Right
now my setup is like this

Virtual Switch
- br0
Port
- vi1.0
- vi1.1
- vi1.2
- vi1.3
- vi1.4

I would like to mirror the traffic from vi1.1 to vi1.4, I follow the command
in the ovs-vsctl configuration cookbook

*ovs-vsctl -- set Bridge br0 mirro...@m \
*

*-- [email protected] get Port vi1.1 \*

*-- [email protected] get Port vi1.4 \*

*-- --...@m create Mirror name=span [email protected]
[email protected] [email protected]*

However I get this message -

sudo ovs-vsctl -- set Bridge br0 mirro...@m -- [email protected] get Port vi1.1 --
[email protected] get Port vi1.4 -- --...@m create Mirror name=testspan
[email protected] select-src-port=vi1.1 [email protected]

*ovs-vsctl: 'get' command has no '--id' option*

Here's my table

*sudo ovs-vsctl -- list bridge br0*
_uuid               : 8ff41d43-ae0c-4b14-8780-0e1275841450
controller          : []
datapath_id         : "00000023208064f0"
datapath_type       : ""
external_ids        : {}
fail_mode           : []
flood_vlans         : []
mirrors             : []
name                : "br0"
netflow             : f9a989f3-35f5-4d0c-af63-95062af13af5
other_config        : {}
ports               : [102521fb-e213-4f00-9645-e78ad31b898b,
4cce1ea6-ccb9-456d-afb8-5847d332fe86, 93193ead-e65a-40bc-9621-27ed899424cc,
a5d5b705-5b27-4c9c-adea-57a77b0a5571, ae7ac6b8-8dab-4ea6-86b3-ab5ec292211e,
c9d9386f-e802-49c9-87d7-7885e2e5a1bb]
sflow               : []

How can I get port mirroring setup properly on virtual port, from the manual
it seems like the port mirroring is setup for physical port(eth0-2) but I
want to do it on virtual port, sorry if my question is not clear and let me
know what other information you need from me to help me out.

Thank you.

-- 
Best Regards,

CS Lee<geek00L[at]gmail.com>

http://geek00l.blogspot.com
http://defcraft.net
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to