...
Build & Run RARE software
Expand |
---|
title | BMv2 with P4Runtime (simple_swicth_grpc) |
---|
|
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| cd 02-PE-labs/0001-vpn-over-bgp-isis-sr-operation
make |
in order stop the whole setup: Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| cd 02-PE-labs/0001-vpn-over-bgp-isis-sr-operation
make clean |
|
Expand |
---|
title | TOFINO with BFRuntime (bf_switchd) |
---|
|
Expand |
---|
title | On virtual TOFINO model |
---|
| Compile P4 bf_router.p4 program Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| export RARE=/home/p4
$SDE/tools/p4_build.sh -I$RARE/p4src/ -DHAVE_MPLS $RARE/p4src/bf_router.p4 |
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| export RARE=/home/p4
$SDE/tools/p4_build.sh -I$RARE/p4src/ -DHAVE_SRV6 $RARE/p4src/bf_router.p4 |
run TOFINO model Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| cd $SDE
./run_tofino_model.sh -p bf_router ./run_switchd.sh -p b |
run TOFINO bf_switchd Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| cd $SDE
./run_switchd.sh -p bf_router |
run Freerouter control plane Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| cd $RARE/02-PE-labs/0001-vpn-over-bgp-isis-sr-operation
./make |
in order to stop FreeRouter Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| cd $RARE/02-PE-labs/0001-vpn-over-bgp-isis-sr-operation
./make clean |
run bf_forwarder.py interface Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| cd $RARE/bfrt_python
./bf_forwarder.py |
|
|
On hardware WEDGEBF10032X
...