]> git.proxmox.com Git - mirror_ovs.git/blame - tutorial/t-stage1
doc: Populate 'tutorials' section
[mirror_ovs.git] / tutorial / t-stage1
CommitLineData
eeecce05
BP
1#! /bin/sh -ve
2
3ovs-ofctl add-flow br0 "table=1, priority=0, actions=drop"
4
5ovs-ofctl add-flow br0 \
6 "table=1, priority=99, in_port=1, actions=resubmit(,2)"
7
8ovs-ofctl add-flows br0 - <<'EOF'
9 table=1, priority=99, in_port=2, vlan_tci=0, actions=mod_vlan_vid:20, resubmit(,2)
10 table=1, priority=99, in_port=3, vlan_tci=0, actions=mod_vlan_vid:30, resubmit(,2)
11 table=1, priority=99, in_port=4, vlan_tci=0, actions=mod_vlan_vid:30, resubmit(,2)
12EOF