summaryrefslogtreecommitdiff
path: root/tutorial/t-stage2
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t-stage2')
-rwxr-xr-xtutorial/t-stage27
1 files changed, 7 insertions, 0 deletions
diff --git a/tutorial/t-stage2 b/tutorial/t-stage2
new file mode 100755
index 000000000..f0d687e68
--- /dev/null
+++ b/tutorial/t-stage2
@@ -0,0 +1,7 @@
+#! /bin/sh -ve
+
+ovs-ofctl add-flow br0 \
+ "table=2 actions=learn(table=10, NXM_OF_VLAN_TCI[0..11], \
+ NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[], \
+ load:NXM_OF_IN_PORT[]->NXM_NX_REG0[0..15]), \
+ resubmit(,3)"