2 # run ./config/edge_router_upstream.sh
5 ################################################################################
7 ################################################################################
8 p
1 firewall add default
4 #SINK0
9 p
1 firewall add bulk .
/config
/edge_router_upstream_firewall.txt
12 ################################################################################
14 ################################################################################
15 p
3 flow add default
4 #SINK1
16 p
3 flow add qinq bulk .
/config
/edge_router_upstream_flow.txt
19 ################################################################################
20 # Flow Actions - Metering and Policing
21 ################################################################################
22 p
4 action flow bulk .
/config
/edge_router_upstream_action.txt
25 ################################################################################
26 # Routing: Ether MPLS, ARP off
27 ################################################################################
28 p
5 route add default
4 #SINK2
29 p
5 route add
0.0.0.0 10 port
0 ether a0
:b0
:c0
:d0
:e0
:f0 mpls
0:1
30 p
5 route add
0.64.0.0 10 port
1 ether a1
:b1
:c1
:d1
:e1
:f1 mpls
10:11
31 p
5 route add
0.128.0.0 10 port
2 ether a2
:b2
:c2
:d2
:e2
:f2 mpls
20:21
32 p
5 route add
0.192.0.0 10 port
3 ether a3
:b3
:c3
:d3
:e3
:f3 mpls
30:31