summaryrefslogtreecommitdiff
path: root/Documentation/faq
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2018-05-25 09:47:20 -0700
committerBen Pfaff <blp@ovn.org>2018-05-25 13:55:50 -0700
commit4ee9f056871872c3758abd291ccba9710b0c0479 (patch)
treedf395cd74cf084b2c306290a7d0355f7aa464049 /Documentation/faq
parentfa37affad362df15fc59db00aa96ee79cd5eebd9 (diff)
downloadopenvswitch-4ee9f056871872c3758abd291ccba9710b0c0479.tar.gz
erspan: update NEWS and FAQ.
Update Documentation/faq/configuration.rst about ERSPAN and Update NEWS. Cc: Greg Rose <gvrose8192@gmail.com> Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'Documentation/faq')
-rw-r--r--Documentation/faq/configuration.rst20
1 files changed, 18 insertions, 2 deletions
diff --git a/Documentation/faq/configuration.rst b/Documentation/faq/configuration.rst
index 0213c58dd..cb2c6b4ec 100644
--- a/Documentation/faq/configuration.rst
+++ b/Documentation/faq/configuration.rst
@@ -193,8 +193,24 @@ Q: How do I configure mirroring of all traffic to a GRE tunnel?
Q: Does Open vSwitch support ERSPAN?
- A: No. As an alternative, Open vSwitch supports mirroring to a GRE tunnel
- (see above).
+ A: Yes. ERSPAN version I and version II over IPv4 GRE and
+ IPv6 GRE tunnel are supported. See ovs-fields(7) for matching
+ and setting ERSPAN fields.
+
+ ::
+
+ $ ovs-vsctl add-br br0
+ $ #For ERSPAN type 2 (version I)
+ $ ovs-vsctl add-port br0 at_erspan0 -- \
+ set int at_erspan0 type=erspan options:key=1 \
+ options:remote_ip=172.31.1.1 \
+ options:erspan_ver=1 options:erspan_idx=1
+ $ #For ERSPAN type 3 (version II)
+ $ ovs-vsctl add-port br0 at_erspan0 -- \
+ set int at_erspan0 type=erspan options:key=1 \
+ options:remote_ip=172.31.1.1 \
+ options:erspan_ver=2 options:erspan_dir=1 \
+ options:erspan_hwid=4
Q: How do I connect two bridges?