New upstream version 18.02
[deb_dpdk.git] / examples / ip_pipeline / config / firewall.sh
1 #
2 # run ./config/firewall.sh
3 #
4
5 p 1 firewall add default 4 #SINK0
6 p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.0.0.0 10 0 65535 0 65535 6 0xF port 0
7 p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.64.0.0 10 0 65535 0 65535 6 0xF port 1
8 p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.128.0.0 10 0 65535 0 65535 6 0xF port 2
9 p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.192.0.0 10 0 65535 0 65535 6 0xF port 3
10
11 #p 1 firewall add bulk ./config/firewall.txt
12
13 p 1 firewall ls