Add a tutorial for advanced Open vSwitch features.
[sliver-openvswitch.git] / tutorial / t-stage0
diff --git a/tutorial/t-stage0 b/tutorial/t-stage0
new file mode 100755 (executable)
index 0000000..55687ee
--- /dev/null
@@ -0,0 +1,9 @@
+#! /bin/sh -ve
+
+ovs-ofctl add-flow br0 \
+    "table=0, dl_src=01:00:00:00:00:00/01:00:00:00:00:00, actions=drop"
+
+ovs-ofctl add-flow br0 \
+    "table=0, dl_dst=01:08:c2:00:00:00/ff:ff:ff:ff:ff:f0, actions=drop"
+
+ovs-ofctl add-flow br0 "table=0, priority=0, actions=resubmit(,1)"