### Run BGP Router Example Source: https://github.com/mc36/freertr/blob/master/readme.md Starts a BGP routing example and connects to its control interfaces. This is part of the initial setup for testing routing protocols. ```shell ./tw.sh rout-bgp001 telnet 127.0.0.1 20001 telnet 127.0.0.1 20002 telnet 127.0.0.1 20003 telnet 127.0.0.1 20004 ``` -------------------------------- ### Compile and Run P4 Dataplane Example Source: https://github.com/mc36/freertr/blob/master/readme.md Compiles the project, sets up a P4-based dataplane, and starts a router configuration. This is used for testing with P4 programmable dataplanes. ```shell ./c.sh ./cn.sh ./twd.sh p4lang-rout001 telnet 127.0.0.1 20001 telnet 127.0.0.1 20003 telnet 127.0.0.1 20004 telnet 127.0.0.1 20005 telnet 127.0.0.1 20006 ``` -------------------------------- ### Cisco IOS XR: Initial Setup and Installation Source: https://github.com/mc36/freertr/blob/master/misc/image/deploy.txt Commands for configuring hardware settings, copying the OVA, and installing the virtual service on Cisco IOS XR. ```cisco-xr !!! set platform hardware rom-monitor virtualization rp active !!! set platform hardware rom-monitor virtualization rp standby copy http://dl.nop.hu/rtr-x86_64.ova harddisk:rtr-x86_64.ova conf t virtual-service signing level unsigned end virtual-service install name rtr package harddisk:rtr-x86_64.ova media harddisk: show virtual-service list !!! wait until status changes to installed ``` -------------------------------- ### Install Nix Source: https://github.com/mc36/freertr/blob/master/misc/p4bf/profiles/optimize.txt Installs Nix as a regular user. Log out and back in after execution. ```bash $ bash <(curl -L https://nixos.org/nix/install) --daemon