7 lines
267 B
Plaintext
7 lines
267 B
Plaintext
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
|