summaryrefslogtreecommitdiff
path: root/tutorial/t-stage0
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t-stage0')
-rwxr-xr-xtutorial/t-stage09
1 files changed, 9 insertions, 0 deletions
diff --git a/tutorial/t-stage0 b/tutorial/t-stage0
new file mode 100755
index 000000000..55687ee0f
--- /dev/null
+++ b/tutorial/t-stage0
@@ -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)"