added ECMP exercise for May 2016 P4 workshop
This commit is contained in:
6
workshop_05_2016/ecmp/commands.txt
Normal file
6
workshop_05_2016/ecmp/commands.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
table_set_default send_frame _drop
|
||||
table_set_default forward _drop
|
||||
table_set_default ipv4_lpm _drop
|
||||
table_add send_frame rewrite_mac 1 => 00:aa:bb:00:00:00
|
||||
table_add forward set_dmac 10.0.1.1 => 00:04:00:00:00:00
|
||||
table_add ipv4_lpm set_nhop 10.0.0.1/32 => 10.0.1.1 1
|
||||
Reference in New Issue
Block a user