RARE/freeRtr configuration is available via
It is denoted from the CLI by
Configuration modifications are made persistent by writing it into the flash disk using the commands below:
1 2 3 4 5
1 2 3 4 5
?from CLI will let you access contextual help.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
1 2 3 4 5 6 7 8 9
<tab>will provide you CLI contextual autocompletion
<tab> provides not only command autocompletion but also contextual object autocompletion among a list of object you might have created previously. In the example above try to type:
access-list MY_ +
<tab> in configutation mode.
Dataplane parameters defined in RARE/FreeRtr control-plane are defined in
server p4lang configuration stanza:
- VRF: Enable VRF (L3) at the dataplane level
- bridge: Enable bridge (L2) at the dataplane level
- Interface: Enable interface at the dataplane level
- Logical interfaces: Enable logical interface such as VLAN, Tunnel Hairpin etc. at the dataplane level
They have to be exported in
server p4lang p4 such as the example below:
1 2 3 4 5 6 7 8 9 10 11
VRF(s)have assigned the numbers
2It can be arbitrary integer values.
Bridgeshave assigned the numbers
1001. It can be arbitrary integer values.
interfacesneeds to be assigned using the interface configuration document.
VLAN sub-interfaces, the mapping is configured using the keyword
this section is by no means complete. RARE/freeRtr exposes an extensive list of CLI features.
Please refers to these blogs articles should you are "greedy" of more features: